diff options
author | jlh <jlh@FreeBSD.org> | 2012-04-28 20:52:20 +0000 |
---|---|---|
committer | jlh <jlh@FreeBSD.org> | 2012-04-28 20:52:20 +0000 |
commit | dfaa19ccd10b974cbcb4948e6c901a1af2bccdfc (patch) | |
tree | 82e8a2c00b0e28749e9fc998b6ae46e1602dfc3d /lib/libc | |
parent | 0a2e36f48b7ece20a1d86749bbc648e38c0e588b (diff) | |
download | FreeBSD-src-dfaa19ccd10b974cbcb4948e6c901a1af2bccdfc.zip FreeBSD-src-dfaa19ccd10b974cbcb4948e6c901a1af2bccdfc.tar.gz |
Import stdbuf(1) and the shared library it relies on.
This tool changes the default buffering behaviour of standard
stdio streams.
It only works on dynamic binaries. To make it work for static
ones it would require cluttering stdio because there no single
entry point.
PR: 166660
Reviewed by: current@, jhb
Approved by: kib (mentor)
MFC after: 1 week
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/stdio/setbuf.3 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/stdio/setbuf.3 b/lib/libc/stdio/setbuf.3 index be88034..d02d7ea 100644 --- a/lib/libc/stdio/setbuf.3 +++ b/lib/libc/stdio/setbuf.3 @@ -83,6 +83,9 @@ normally does) it is line buffered. The standard error stream .Dv stderr is always unbuffered. +Note that these defaults maybe be altered using the +.Xr stdbuf 1 +utility. .Pp The .Fn setvbuf @@ -177,6 +180,7 @@ function returns what the equivalent .Fn setvbuf would have returned. .Sh SEE ALSO +.Xr stdbuf 1 , .Xr fclose 3 , .Xr fopen 3 , .Xr fread 3 , |