musl/src/stdio
Rich Felker 617182734c add bsd fgetln function
optimized to avoid allocation and return lines directly out of the
stream buffer whenever possible.
2012-08-11 18:10:38 -04:00
..
__fclose_ca.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
__fdopen.c fdopen should set errno when it fails due to invalid mode string 2012-06-17 20:34:04 -04:00
__fopen_rb_ca.c fix crash in dns code with new stdio locking code 2011-08-01 00:03:50 -04:00
__lockfile.c avoid setting FILE lock count when not using flockfile 2011-09-21 21:30:45 -04:00
__overflow.c major stdio overhaul, using readv/writev, plus other changes 2011-03-28 01:14:44 -04:00
__stdio_close.c global cleanup to use the new syscall interface 2011-03-20 00:16:43 -04:00
__stdio_exit.c stdio: handle file position correctly at program exit 2012-06-19 01:27:26 -04:00
__stdio_read.c avoid using pthread cleanup push/pop in stdio when not needed 2012-05-25 22:44:34 -04:00
__stdio_seek.c don't disable seeking after first seek failure 2011-04-02 13:55:54 -04:00
__stdio_write.c avoid using pthread cleanup push/pop in stdio when not needed 2012-05-25 22:44:34 -04:00
__stdout_write.c avoid setting errno when checking for tty 2011-04-15 12:04:13 -04:00
__string_read.c avoid depending on POSIX symbol in code used from plain C functions 2012-04-17 13:17:01 -04:00
__toread.c fix missing function declarations for __stdio_exit 2012-07-02 22:48:56 -04:00
__towrite.c fix missing function declarations for __stdio_exit 2012-07-02 22:48:56 -04:00
__uflow.c fix getc - the classic error of trying to store EOF+0-255 in a char type.. 2011-03-28 17:31:01 -04:00
asprintf.c cleanup asprintf stuff 2011-02-20 17:19:37 -05:00
clearerr.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
dprintf.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
ext.c change stdio_ext __freading/__fwriting semantics slightly 2012-06-17 21:24:58 -04:00
ext2.c add new stdio extension functions to make gnulib happy 2012-06-19 01:35:23 -04:00
fclose.c add bsd fgetln function 2012-08-11 18:10:38 -04:00
feof.c add some ugly aliases for LSB ABI compatibility 2012-06-02 21:20:21 -04:00
ferror.c add some ugly aliases for LSB ABI compatibility 2012-06-02 21:20:21 -04:00
fflush.c minor cleanup in fflush 2012-06-19 01:12:36 -04:00
fgetc.c add some ugly aliases for LSB ABI compatibility 2012-06-02 21:20:21 -04:00
fgetln.c add bsd fgetln function 2012-08-11 18:10:38 -04:00
fgetpos.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
fgets.c major stdio overhaul, using readv/writev, plus other changes 2011-03-28 01:14:44 -04:00
fgetwc.c add proper fuxed-based locking for stdio 2011-07-30 08:02:14 -04:00
fgetws.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
fileno.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
flockfile.c add proper fuxed-based locking for stdio 2011-07-30 08:02:14 -04:00
fmemopen.c more fmemopen null termination fixes 2011-09-04 21:53:20 -04:00
fopen.c make stdio open, read, and write operations cancellation points 2012-02-02 00:11:29 -05:00
fprintf.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
fputc.c add some ugly aliases for LSB ABI compatibility 2012-06-02 21:20:21 -04:00
fputs.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
fputwc.c fix fputwc return value 2011-04-11 01:52:23 -04:00
fputws.c fix some pointer signedness issues (this was invalid C) 2011-02-14 19:37:01 -05:00
fread.c fix logic error in fread 2011-07-16 21:24:02 -04:00
freopen.c remove flush hook cruft that was never used from stdio 2012-06-19 00:05:35 -04:00
fscanf.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
fseek.c apparently fseek should not set the error flag on failed seek 2011-04-02 13:54:55 -04:00
fsetpos.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
ftell.c add proper fuxed-based locking for stdio 2011-07-30 08:02:14 -04:00
ftrylockfile.c add proper fuxed-based locking for stdio 2011-07-30 08:02:14 -04:00
funlockfile.c add proper fuxed-based locking for stdio 2011-07-30 08:02:14 -04:00
fwide.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
fwprintf.c implement wprintf family of functions 2011-03-17 22:55:43 -04:00
fwrite.c fix fwrite return value when full write does not succeed 2012-06-20 15:04:47 -04:00
fwscanf.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
getc_unlocked.c add some ugly aliases for LSB ABI compatibility 2012-06-02 21:20:21 -04:00
getchar.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
getchar_unlocked.c major stdio overhaul, using readv/writev, plus other changes 2011-03-28 01:14:44 -04:00
getdelim.c add some ugly aliases for LSB ABI compatibility 2012-06-02 21:20:21 -04:00
getline.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
gets.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
getw.c make sure getw/putw agree with prototypes by defining _GNU_SOURCE 2012-07-04 12:18:46 -04:00
getwc.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
getwchar.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
open_memstream.c memstreams: fix incorrect handling of file pos > current size 2011-09-04 10:29:04 -04:00
open_wmemstream.c memstreams: fix incorrect handling of file pos > current size 2011-09-04 10:29:04 -04:00
pclose.c avoid cancellation in pclose 2012-06-20 14:50:29 -04:00
perror.c minor perror behavior fix 2012-06-20 09:27:28 -04:00
popen.c make popen cancellation-safe 2012-06-20 14:39:50 -04:00
printf.c trivial optimization to printf: avoid wasted call frame 2012-08-10 22:18:49 -04:00
putc_unlocked.c add some ugly aliases for LSB ABI compatibility 2012-06-02 21:20:21 -04:00
putchar.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
putchar_unlocked.c major stdio overhaul, using readv/writev, plus other changes 2011-03-28 01:14:44 -04:00
puts.c minor optimization in puts: use inline putc_unlocked macro for newline 2011-05-01 20:12:51 -04:00
putw.c putw is supposed to return 0 (not the value written) on success 2012-07-04 12:21:22 -04:00
putwc.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
putwchar.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
remove.c fix messed-up errno if remove fails for a non-EISDIR reason 2011-03-29 08:25:59 -04:00
rename.c global cleanup to use the new syscall interface 2011-03-20 00:16:43 -04:00
rewind.c rewind must clear the error indicator in addition to seeking 2011-02-22 17:11:35 -05:00
scanf.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
setbuf.c add more legacy functions: setlinebuf and setbuffer 2011-04-05 12:25:31 -04:00
setbuffer.c add more legacy functions: setlinebuf and setbuffer 2011-04-05 12:25:31 -04:00
setlinebuf.c add more legacy functions: setlinebuf and setbuffer 2011-04-05 12:25:31 -04:00
setvbuf.c major stdio overhaul, using readv/writev, plus other changes 2011-03-28 01:14:44 -04:00
snprintf.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
sprintf.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
sscanf.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
stderr.c add proper fuxed-based locking for stdio 2011-07-30 08:02:14 -04:00
stdin.c add proper fuxed-based locking for stdio 2011-07-30 08:02:14 -04:00
stdout.c add proper fuxed-based locking for stdio 2011-07-30 08:02:14 -04:00
swprintf.c implement [v]swprintf 2011-03-18 09:19:09 -04:00
swscanf.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
tempnam.c avoid 64bit warnings when using pointers as entropy for temp names 2011-06-13 20:52:01 -04:00
tmpfile.c debloat: use __syscall instead of syscall where possible 2011-04-17 16:32:15 -04:00
tmpnam.c avoid 64bit warnings when using pointers as entropy for temp names 2011-06-13 20:52:01 -04:00
ungetc.c major stdio overhaul, using readv/writev, plus other changes 2011-03-28 01:14:44 -04:00
ungetwc.c major stdio overhaul, using readv/writev, plus other changes 2011-03-28 01:14:44 -04:00
vasprintf.c cleanup asprintf stuff 2011-02-20 17:19:37 -05:00
vdprintf.c simplify vdprintf implementation greatly based on recent vfprintf changes 2011-04-04 16:30:39 -04:00
vfprintf.c minor but worthwhile optimization in printf: avoid expensive strspn 2012-08-10 23:39:32 -04:00
vfscanf.c fix scanf bug reading literals after width-limited field 2012-06-07 22:52:41 -04:00
vfwprintf.c fix uninitialized var in vfwprintf printing 0-prec string 2012-05-04 01:26:43 -04:00
vfwscanf.c fix wide scanf's handling of input failure on %c, and simplify %[ 2012-04-17 23:35:49 -04:00
vprintf.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
vscanf.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
vsnprintf.c major stdio overhaul, using readv/writev, plus other changes 2011-03-28 01:14:44 -04:00
vsprintf.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
vsscanf.c new scanf implementation and corresponding integer parser/converter 2012-04-16 16:03:45 -04:00
vswprintf.c major stdio overhaul, using readv/writev, plus other changes 2011-03-28 01:14:44 -04:00
vswscanf.c fix failure to distinguish input/match failure in wide %[ scanf 2012-04-17 23:08:58 -04:00
vwprintf.c implement wprintf family of functions 2011-03-17 22:55:43 -04:00
vwscanf.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
wprintf.c implement wprintf family of functions 2011-03-17 22:55:43 -04:00
wscanf.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00