diff options
author | Kamil Dudka <kdudka@redhat.com> | 2008-07-23 11:29:21 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-07-23 15:55:45 +0200 |
commit | f674a10f7ebc55de6181007a5216a297e3dc3365 (patch) | |
tree | 656d939f65f7bb6263a1648f6152fd9fb4c5f437 /doc/coreutils.texi | |
parent | 4fff95cfe1b1c11501759d8cb5386489628dfabb (diff) | |
download | coreutils-f674a10f7ebc55de6181007a5216a297e3dc3365.tar.xz |
dd: new option: iflag=fullblock to accumulate full input blocks
* src/dd.c (iread_fullblock): New function for reading full blocks.
(scanargs): Check for new parameter iflag=fullblock.
(skip): Use iread_fnc pointer instead of iread function.
(dd_copy): Use iread_fnc pointer instead of iread function.
* tests/dd/misc: Add test for dd - read full blocks.
* doc/coretuils.texi: Mention new parameter iflag=fullblock.
* NEWS: Mentioned the change.
Diffstat (limited to 'doc/coreutils.texi')
-rw-r--r-- | doc/coreutils.texi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 81e3b911c..b95f8dc50 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -7719,6 +7719,12 @@ platforms that distinguish binary from text I/O. Use text I/O. Like @samp{binary}, this option has no effect on standard platforms. +@item fullblock +@opindex fullblock +Read full blocks from input if possible. read() may return early +if a full block is not available, so retry until data is available +or end of file is reached. This flag can be used only for the iflag option. + @end table These flags are not supported on all systems, and @samp{dd} rejects |