summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-07-23 14:50:52 +0200
committerJim Meyering <meyering@redhat.com>2008-07-23 15:55:45 +0200
commite535754fdbe701e70f3ac9834b643a9272dc1d98 (patch)
tree72f4d7236ca247db31001df16ec71599728c4045 /doc
parentf674a10f7ebc55de6181007a5216a297e3dc3365 (diff)
downloadcoreutils-e535754fdbe701e70f3ac9834b643a9272dc1d98.tar.xz
dd: minor fullblock changes
* src/dd.c (O_FULLBLOCK): Define using an enum, not #define. Derive the value, rather than hard-coding to one that might conflict. (usage): Mention iflag=fullblock in --help output. (scanargs): Reset the O_FULLBLOCK bit, so that we don't try to set an undefined attribute via fcntl (fd, F_SETFL, ... * tests/dd/misc: Signal framework_failure when necessary. Use "compare actual expected", so any diffs look "right". * NEWS (dd): Alphabetize and reword. * coreutils.texi (dd invocation): Adjust wording.
Diffstat (limited to 'doc')
-rw-r--r--doc/coreutils.texi8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index b95f8dc50..8eb8ac9da 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -7721,9 +7721,11 @@ 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.
+Accumulate full blocks from input. The @code{read} system call
+may return early if a full block is not available.
+When that happens, continue calling @code{read} to fill the remainder
+of the block.
+This flag can be used only with @code{iflag}.
@end table