summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/fseek.3
Commit message (Collapse)AuthorAgeFilesLines
* mdoc(7) police: Use the new .In macro for #include statements.ru2001-10-011-2/+2
|
* Make fseek(... SEEK_CUR) fails if current file-position is unspecified.ache2001-09-011-6/+2
|
* Note that prev. commit addition is for ftell/ftelloache2001-09-011-2/+6
|
* Describe ESPIPE as result of unspecified file-position indicator value.ache2001-09-011-2/+7
| | | | Add more to SEE ALSO section.
* Use ``.Rv -std'' wherever possible.ru2001-08-311-7/+3
| | | | Submitted by: yar
* Add about rewind+errno, describe ESPIPE, minor formatting.ache2001-08-191-6/+23
|
* Mention ftell & ftello in EOVERFLOW section too.ache2001-08-171-1/+5
|
* fseek.c:ache2001-08-171-1/+5
| | | | | | | | | | | | Resulting fseek() offset must fit in long, required by POSIX (pointed by bde), so add LONG_MAX and final tests for it. rewind.c: 1) add missing __sinit() as in fseek() it pretends to be. 2) use clearerr_unlocked() since we already lock stream before _fseeko() 3) don't zero errno at the end, it explicitely required by POSIX as the only one method to test rewind() error condition. 4) don't clearerr() if error happens in _fseeko()
* 1) Disallow negative seek as POSIX require for fseek{o} (but not for lseek):ache2001-08-151-11/+5
| | | | | | | | | | | | "[EINVAL] ... The resulting file-position indicator would be set to a negative value." Moreover, in real life negative seek in stdio cause EOF indicator cleared and not set again forever even if EOF returned. 2) Catch few possible off_t overflows. Reviewed by: arch discussion
* Remove whitespace at EOL.dd2001-07-151-6/+6
|
* .St -ansiC -> .St -isoCru2001-02-261-1/+1
|
* mdoc(7) police: use canonical form of .Dd macro.ru2000-12-111-1/+1
|
* Use `Er' variable to define first column width in ERRORS section.phantom2000-05-061-1/+1
|
* Introduce ".Lb" macro to libc manpages.phantom2000-04-211-0/+2
| | | | More libraries manpages updates following.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* The pseudocode in the synopsis didn't come close to actuallybde1999-03-051-4/+6
| | | | | | | | | compiling, since <stdio.h> correctly doesn't declare off_t although the pseudo-prototypes for the new fseeko() and ftello() functions use it. Handle this like the corresponding problem for va_list versus the vprintf() family. Fixed some English errors.
* Added functions fseeko() and ftello() (from susv2).dt1999-02-081-5/+45
| | | | | | | Fixed fgetpos() and fsetpos() for offsets > 2GB. PR: 8637 Submitted by: Dan Nelson <dnelson@emsphone.com> (adjusted by me a little)
* Fixed #include and/or prototype bugs in synopsis.bde1997-04-131-1/+1
|
* BSD 4.4 Lite Lib Sourcesrgrimes1994-05-271-0/+188
OpenPOWER on IntegriCloud