mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
doc: detail the effect of disabling input buffering with stdbuf
* docs/coreutils.texi (stdbuf invocation): Expand on the different reasons for disabling buffering on input and output.
This commit is contained in:
1 parent
0c87ba4693
commit
e7734b4a66
1 file changed
+6
-1
+6
-1
@@ -15448,8 +15448,13 @@ This option is invalid with standard input.
|
||||
|
||||
@item 0
|
||||
Disable buffering of the selected stream.
|
||||
In this mode data is output immediately and only the
|
||||
In this mode, data is output immediately and only the
|
||||
amount of data requested is read from input.
|
||||
Note the difference in function for input and output.
|
||||
Disabling buffering for input will not influence the responsiveness
|
||||
or blocking behavior of the stream input functions.
|
||||
For example @code{fread} will still block until @code{EOF} or error,
|
||||
even if the underlying @code{read} returns less data than requested.
|
||||
|
||||
@item @var{size}
|
||||
Specify the size of the buffer to use in fully buffered mode.
|
||||
|
||||
Reference in new issue
Block a user