summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/fseek.c
AgeCommit message (Expand)Author
2023-11-26lib: Remove ancient SCCS tags.Warner Losh
2023-11-01libc: Purge unneeded cdefs.hWarner Losh
2023-08-16Remove $FreeBSD$: one-line .c patternWarner Losh
2017-11-20General further adoption of SPDX licensing ID tags.Pedro F. Giffuni
2017-06-29Make stdio deferred cancel-safe.Konstantin Belousov
2013-04-23Convert libc/stdio from K&R to ANSI CEd Maste
2013-04-23Renumber clauses to reduce diffs to other versionsEd Maste
2008-04-17Next stage of stdio cleanup: Retire __sFILEX and merge the fields back intoJohn Baldwin
2007-06-18Add mbstate clear missed in one of the cases.Andrey A. Chernov
2007-01-09Per Regents of the University of Calfornia letter, remove advertisingWarner Losh
2004-05-22Associate a multibyte conversion state object with each stream. Reset itTim J. Robbins
2002-03-22Fix the style of the SCM ID's.David E. O'Brien
2002-03-21Remove __P() usage.David E. O'Brien
2002-03-21Remove 'register' keyword.David E. O'Brien
2001-10-25In > LONG_MAX test use sseek return value and not _offset which can be notAndrey A. Chernov
2001-10-24Help to recover from bad seek (i.e. negative or too big) happens beyondAndrey A. Chernov
2001-10-23Back out read buffer invalidating via __SMOD.Andrey A. Chernov
2001-10-23Change comment explaining another usage of __SMODAndrey A. Chernov
2001-09-03Re-arrange my funopen(3) fix to minimize differences with original stdio code,Andrey A. Chernov
2001-09-02Internal seeks are overoptimized. They should remember fp->_offset only forAndrey A. Chernov
2001-09-02Move all stdio internal flags processing and setting out of __sread(),Andrey A. Chernov
2001-09-01Save errno before function call and restore it on success (because manyAndrey A. Chernov
2001-09-01Remove even more unneded checks, original code can't overflows in that placeAndrey A. Chernov
2001-09-01Remove two checks unneeded now (can't happens)Andrey A. Chernov
2001-09-01Make fseek(... SEEK_CUR) fails if current file-position is unspecified.Andrey A. Chernov
2001-09-01If lseek to wrong value sucessfully happens despite all pre-checks, set __SERRAndrey A. Chernov
2001-09-01Back out disabling ungetc() at 0, use different solution:Andrey A. Chernov
2001-08-31The same big piece of ftell code repeated in 3 places. Simplify things movingAndrey A. Chernov
2001-08-31If file offset is smaller than internal buffer character left count, just dropAndrey A. Chernov
2001-08-30Try to discard some ungetc data in saved internal buffer checks too,Andrey A. Chernov
2001-08-30goto dumb; if can't obtain curoff for whence != SEEK_CUR cases, as supposedAndrey A. Chernov
2001-08-30Add more EOVERFLOW checks.Andrey A. Chernov
2001-08-26Cosmetique fixes from bdeAndrey A. Chernov
2001-08-23Cosmetique: correct English in commentsAndrey A. Chernov
2001-08-17Simplify overflow calculations a bitAndrey A. Chernov
2001-08-17Add more overflow checks in case of fseek()Andrey A. Chernov
2001-08-17Don't clear "we have offset" flag even if long is overflow for fseek(),Andrey A. Chernov
2001-08-17fseek.c:Andrey A. Chernov
2001-08-15Use smarter overflow testsAndrey A. Chernov
2001-08-151) Disallow negative seek as POSIX require for fseek{o} (but not for lseek):Andrey A. Chernov
2001-02-16Fix the current libc breakage in current:Warner Losh
2001-01-24Remove _THREAD_SAFE and make libc thread-safe by default byDaniel Eischen
1999-08-28$Id$ -> $FreeBSD$Peter Wemm
1999-02-08Added functions fseeko() and ftello() (from susv2).Dmitrij Tejblum
1998-04-11Add FILE locking stubs for libc.John Birrell
1997-02-22Revert $FreeBSD$ to $Id$Peter Wemm
1997-01-14Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard
1996-06-22Suggested by: Bruce Evans, Jeffrey Hsu, Gary PalmerJames Raynard
1996-01-22Reviewed by: julian and (hsu?)Julian Elischer
1994-11-05Date: Wed, 26 Oct 1994 15:44:49 -0600Nate Williams