summaryrefslogtreecommitdiff
path: root/src/stdio
AgeCommit message (Collapse)AuthorLines
2011-03-25fix all implicit conversion between signed/unsigned pointersRich Felker-8/+8
sadly the C language does not specify any such implicit conversion, so this is not a matter of just fixing warnings (as gcc treats it) but actual errors. i would like to revisit a number of these changes and possibly revise the types used to reduce the number of casts required.
2011-03-24simplify and optimize FILE lock handlingRich Felker-11/+12
2011-03-24fix non-atomicity of putsRich Felker-1/+5
2011-03-20global cleanup to use the new syscall interfaceRich Felker-19/+19
2011-03-18implement [v]swprintfRich Felker-0/+60
2011-03-17implement wprintf family of functionsRich Felker-0/+387
this implementation is extremely ugly and inefficient, but it avoids a good deal of code duplication and bloat. it may be cleaned up later to eliminate the remaining code duplication and some of the warts, but i don't really care about its performance. note that swprintf is not yet implemented.
2011-03-16optimize file locking: avoid cache-polluting writes to global storageRich Felker-3/+5
2011-03-14partially-written draft of fmemopen, still in #if 0Rich Felker-3/+48
2011-03-12implement flockfile api, rework stdio lockingRich Felker-3/+54
2011-02-22rewind must clear the error indicator in addition to seekingRich Felker-2/+5
2011-02-20avoid referencing address of extern function from vdprintfRich Felker-1/+6
this change is in preparation for upcoming PIC/shared library support. the intent is to avoid going through the GOT, mainly so that dprintf is operable immediately, prior to processing of relocations. having dprintf accessible from the dynamic linker will make writing and debugging the dynamic linker much easier.
2011-02-20cleanup asprintf stuffRich Felker-2/+2
2011-02-20fix %n specifier, again. this time it was storing the wrong value.Rich Felker-7/+7
2011-02-16fix printf %n specifier - missing breaks had it clobbering memoryRich Felker-7/+7
2011-02-14fix some pointer signedness issues (this was invalid C)Rich Felker-3/+3
2011-02-13cleaning up syscalls in preparation for x86_64 portRich Felker-1/+7
- hide all the legacy xxxxxx32 name cruft in syscall.h so the actual source files can be clean and uniform across all archs. - cleanup llseek/lseek and mmap2/mmap handling for 32/64 bit systems - alternate implementation for nice if the target lacks nice syscall
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker-0/+2857