summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/setbuf.c
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2009-01-15 04:29:02 +0000
committerdas <das@FreeBSD.org>2009-01-15 04:29:02 +0000
commit692fda68c21b7c0ddecfef66518b491ce012b953 (patch)
tree36abcd7c980f6b7a717d15e7f210d94b5286cd1b /lib/libc/stdio/setbuf.c
parentbcc2168187085587f5da2512d7e901b1cecea390 (diff)
downloadFreeBSD-src-692fda68c21b7c0ddecfef66518b491ce012b953.zip
FreeBSD-src-692fda68c21b7c0ddecfef66518b491ce012b953.tar.gz
Convert the insidious macros that handle printf()'s buffering into
slightly less evil inline functions, and move the buffering state into a struct. This will make it possible for helper routines to produce output for printf() directly, making it possible to untangle the code somewhat. In wprintf(), use the same buffering mechanism to reduce diffs to printf(). This has the side-effect of causing wprintf() to catch write errors that it previously ignored.
Diffstat (limited to 'lib/libc/stdio/setbuf.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud