summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/ftell.c
Commit message (Expand)AuthorAgeFilesLines
* 1) Remove my overcomplicated error fallback and just return errorAndrey A. Chernov2015-11-121-11/+3
* Reorganize code to elimitate one _sseek() call for append modes.Andrey A. Chernov2015-11-081-21/+14
* Microoptimize.Andrey A. Chernov2015-11-011-4/+3
* Addition to prev. commit.Andrey A. Chernov2015-11-011-4/+6
* Don't seek to the end if write buffer is empty (in append modes).Andrey A. Chernov2015-11-011-11/+12
* Add _flags2 per jhb@ suggestion since no room left in _flags.Andrey A. Chernov2015-10-281-2/+1
* Since no room left in the _flags, reuse __SALC for O_APPEND.Andrey A. Chernov2015-10-241-15/+17
* For "a"-mode files and rewind/fseek + fwrite combination return meaningfulAndrey A. Chernov2014-07-221-0/+18
* Back the whole change out until I figure out how to obtain O_APPEND,Andrey A. Chernov2014-07-221-6/+0
* Checking for __SAPP alone is not enough because it is emulated O_APPENDAndrey A. Chernov2014-07-221-1/+2
* Revert r268984:Pedro F. Giffuni2014-07-221-2/+5
* ftello: return 1 when seeking offset on an append stream.Pedro F. Giffuni2014-07-221-0/+2
* Convert libc/stdio from K&R to ANSI CEd Maste2013-04-231-7/+3
* Renumber clauses to reduce diffs to other versionsEd Maste2013-04-231-1/+1
* Per Regents of the University of Calfornia letter, remove advertisingWarner Losh2007-01-091-4/+0
* Fix the style of the SCM ID's.David E. O'Brien2002-03-221-4/+2
* Remove 'register' keyword.David E. O'Brien2002-03-211-5/+5
* Move all stdio internal flags processing and setting out of __sread(),Andrey A. Chernov2001-09-021-1/+1
* Strict in the POSIX sence, if file position is unspecified after ungetc() atAndrey A. Chernov2001-09-011-6/+4
* If position is underflowed, don't try to hide that fact by recovery, justAndrey A. Chernov2001-09-011-17/+7
* Back out disabling ungetc() at 0, use different solution:Andrey A. Chernov2001-09-011-14/+26
* Add originally missing __sinit() call.Andrey A. Chernov2001-08-311-0/+4
* Simplify offset underflow checks even moreAndrey A. Chernov2001-08-311-12/+2
* Disallow ungetc at offset 0 (to prevent negative offset happens), so simplifyAndrey A. Chernov2001-08-311-22/+11
* Drop buffer first, _then_ ask for real positionAndrey A. Chernov2001-08-311-4/+4
* The same big piece of ftell code repeated in 3 places. Simplify things movingAndrey A. Chernov2001-08-311-10/+22
* If file offset is smaller than internal buffer character left count, just dropAndrey A. Chernov2001-08-311-7/+9
* Try to discard some ungetc data in saved internal buffer checks too,Andrey A. Chernov2001-08-301-3/+9
* Add more EOVERFLOW checks.Andrey A. Chernov2001-08-301-7/+33
* Remove _THREAD_SAFE and make libc thread-safe by default byDaniel Eischen2001-01-241-0/+2
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
* Added functions fseeko() and ftello() (from susv2).Dmitrij Tejblum1999-02-081-2/+19
* Add FILE locking stubs for libc.John Birrell1998-04-111-14/+5
* Merge from Lite2Peter Wemm1997-03-111-2/+2
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
* Suggested by: Bruce Evans, Jeffrey Hsu, Gary PalmerJames Raynard1996-06-221-0/+4
* Removed now-bogus casts that were to hide the inconsistency between theBruce Evans1996-03-271-4/+4
* Fix incorrect parameter types.Paul Richards1996-03-241-1/+1
* Reviewed by: julian and (hsu?)Julian Elischer1996-01-221-1/+15
* BSD 4.4 Lite Lib SourcesRodney W. Grimes1994-05-271-0/+88