summaryrefslogtreecommitdiff
path: root/src/stdio
AgeCommit message (Expand)AuthorLines
2020-08-30clean up overinclusion in files using TIOCGWINSZRich Felker-2/+0
2020-08-24add tcgetwinsize and tcsetwinsize functions, move struct winsizeRich Felker-0/+2
2020-07-02vfscanf: fix possible invalid free due to uninitialized variable useJulien Ramseier-1/+1
2020-04-17move __string_read into vsscanf source fileRich Felker-19/+13
2020-04-17remove spurious repeated semicolon in fmemopenRich Felker-1/+1
2020-04-17combine two calls to memset in fmemopenRich Felker-2/+2
2020-04-17fix undefined behavior in scanf coreRich Felker-0/+3
2020-02-21remove wrap_write helper from vdprintfRich Felker-6/+1
2020-02-12fix remaining direct use of stat syscalls outside fstatat.cRich Felker-4/+6
2019-10-18fix return value of ungetc when argument is outside unsigned char rangeRich Felker-1/+1
2019-09-13fix %lf in wprintfBrion Vibber-0/+2
2019-07-16use namespace-safe __lseek for __stdio_seek instead of direct syscallRich Felker-8/+2
2019-06-25allow fmemopen with zero sizeRich Felker-1/+1
2019-05-05make fgetwc set error indicator for stream on encoding errorsRich Felker-2/+8
2019-03-21support archs with no renameat syscall, only renameat2Drew DeVault-2/+4
2019-03-12setvbuf: return failure if mode is invalidA. Wilcox-1/+3
2019-02-13fix behavior of gets when input line contains a null byteRich Felker-3/+8
2018-11-02fix failure to flush stderr when fflush(0) is calledRich Felker-1/+4
2018-11-02fix deadlock and buffered data loss race in fcloseRich Felker-13/+19
2018-10-18further optimize getc/putc when locking is neededRich Felker-10/+10
2018-10-18fix build regression due to missing file for putc changesRich Felker-0/+22
2018-10-18bypass indirection through pointer objects to access stdin/out/errRich Felker-9/+15
2018-10-17optimize hot paths of putc with manual shrink-wrappingRich Felker-13/+8
2018-10-17optimize hot paths of getc with manual shrink-wrappingRich Felker-15/+30
2018-10-16move stdio locking MAYBE_WAITERS definition to stdio_impl.hRich Felker-4/+0
2018-09-18fix race condition in file lockingKaarle Ritvanen-6/+6
2018-09-16getdelim: only grow buffer when necessary, improve OOM behaviorRich Felker-10/+17
2018-09-16fix null pointer subtraction and comparison in stdioRich Felker-29/+39
2018-09-16fix failure of getdelim to set stream orientation on errorRich Felker-0/+2
2018-09-12split internal lock API out of libc.h, creating lock.hRich Felker-1/+1
2018-09-12remove spurious inclusion of libc.h for LFS64 ABI aliasesRich Felker-14/+7
2018-09-12reduce spurious inclusion of libc.hRich Felker-12/+19
2018-09-12hide purely dependency-triggering functions in stdio __toread & __towriteRich Felker-2/+2
2018-09-12overhaul internally-public declarations using wrapper headersRich Felker-8/+4
2018-09-12move __stdio_exit_needed to stdio_impl.hRich Felker-4/+0
2018-09-12make internal declarations for flockfile tracking functions checkableRich Felker-4/+0
2018-09-12fix issues from public functions defined without declaration visibleRich Felker-0/+2
2018-08-30prevent perror from clobbering stderr's orientationRich Felker-0/+8
2018-08-29make vfprintf set stream orientation even for zero-length outputRich Felker-1/+2
2018-08-29re-fix vfprintf temporary buffer logicRich Felker-2/+2
2018-08-29fix missing flush of stderr at exit if it was put in buffered modeRich Felker-0/+1
2018-08-28vfwprintf: honor field width with 'c' format typeA. Wilcox-1/+4
2018-08-28set stream orientations in open_[w]memstreamRich Felker-0/+3
2018-08-28make fmemopen's w+ mode truncate the bufferRich Felker-0/+1
2018-08-28set errno when fileno is called on a FILE with no underlying fdRich Felker-4/+7
2018-08-23fix printf precision specifier for hex floats on non-ld80 archsRich Felker-0/+1
2018-07-13fix writes outside buffer by ungetc after setvbufRich Felker-1/+1
2018-04-19setvbuf: minor comment typo fixWill Dietz-1/+1
2018-04-18add support for caller-provided buffers to setvbufRich Felker-11/+14
2018-04-18clean up allocation/setup logic for open_[w]memstreamRich Felker-38/+50