master
initial check-in, version 0.5.0
clean up overinclusion in files using TIOCGWINSZ
greatly improve freopen behavior
add O_CLOEXEC fallback for open and related functions
move stdio locking MAYBE_WAITERS definition to stdio_impl.h
fix null pointer subtraction and comparison in stdio
move aio implementation details to a proper internal header
avoid use of readv syscall in __stdio_read backend when not needed
use namespace-safe __lseek for __stdio_seek instead of direct syscall
stdio: skip empty iovec when buffering is disabled
hide purely dependency-triggering functions in stdio __toread & __towrite
fix failure of ungetc and ungetwc to work on files in eof status
cleanup asprintf stuff
use restrict everywhere it's required by c99 and/or posix 2008
change stdio_ext __freading/__fwriting semantics slightly
fix toctou race in popen children's closing of other popen pipes
correct locking in stdio functions that tried to be lock-free
fix failure to flush stderr when fflush(0) is called
optimize hot paths of getc with manual shrink-wrapping
remove LFS64 symbol aliases; replace with dynamic linker remapping
fgets: avoid arithmetic overflow when n==INT_MIN is passed
make fgetwc set error indicator for stream on encoding errors
fix spurious failures by fgetws when buffer ends with partial character
set errno when fileno is called on a FILE with no underlying fd
make internal declarations for flockfile tracking functions checkable
fix fmemopen write-mode streams clobbering final byte with null
minor cleanup in fopencookie
optimize hot paths of putc with manual shrink-wrapping
fix assumption in fputs that fwrite returning 0 implies an error
byte-based C locale, phase 2: stdio and iconv (multibyte callers)
reduce spurious inclusion of libc.h
fix issues from public functions defined without declaration visible
fix return value for fread/fwrite when size argument is 0
further optimize getc/putc when locking is needed
add some ugly aliases for LSB ABI compatibility
major stdio overhaul, using readv/writev, plus other changes
fix undefined behavior in getdelim via null pointer arithmetic and memcpy
fix behavior of gets when input line contains a null byte
make sure getw/putw agree with prototypes by defining _GNU_SOURCE
clean up stdio_impl.h
lift child restrictions after multi-threaded fork
refactor stdio open file list handling, move it out of global libc struct
fix fwprintf missing output to open_wmemstream FILEs
add framework to support archs without a native wait4 syscall
prevent perror from clobbering stderr's orientation
fix popen not to leak pipes from one child to another
minor optimization in puts: use inline putc_unlocked macro for newline
putw is supposed to return 0 (not the value written) on success
support linux kernel apis (new archs) with old syscalls removed
support archs with no renameat syscall, only renameat2
rewind must clear the error indicator in addition to seeking
add more legacy functions: setlinebuf and setbuffer
setvbuf: return failure if mode is invalid
bypass indirection through pointer objects to access stdin/out/err
include cleanups: remove unused headers and add feature test macros
drop use of stat operation in temporary file name generation
fix return value of ungetc when argument is outside unsigned char range
fix FILE buffer underflow in ungetwc
simplify vasprintf implementation
remove wrap_write helper from vdprintf
printf: fix buffer overflow in floating point decimal formatting
vfscanf: fix possible invalid free due to uninitialized variable use
all printf variants: fix argument type handling for %c and %lc
remove INT_MAX limit on the n argument to snprintf/swprintf
move __string_read into vsscanf source file