summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/stdio.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2001-08-17 09:57:11 +0000
committerache <ache@FreeBSD.org>2001-08-17 09:57:11 +0000
commitca91420dc83eb61f050e2c2e5c063ad0b8ab2b4c (patch)
tree1ac14d62b577338fdc2eef8fa860217334dddad7 /lib/libc/stdio/stdio.c
parent141c7ecefc74015b064137ab8e39f6582bec1697 (diff)
downloadFreeBSD-src-ca91420dc83eb61f050e2c2e5c063ad0b8ab2b4c.zip
FreeBSD-src-ca91420dc83eb61f050e2c2e5c063ad0b8ab2b4c.tar.gz
fseek.c:
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()
Diffstat (limited to 'lib/libc/stdio/stdio.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud