summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-02-27 03:33:23 +0000
committerJim Meyering <jim@meyering.net>1996-02-27 03:33:23 +0000
commitdee715bb6f63e2a1eb4842c1522476e9993523a5 (patch)
tree8852caca70107e4cba03150bf0abb238dcb095c7 /lib
parentedac0ff42083e2d42586caaca849cc5f7a260ede (diff)
downloadcoreutils-dee715bb6f63e2a1eb4842c1522476e9993523a5.tar.xz
Elaborate comment.
Diffstat (limited to 'lib')
-rw-r--r--lib/full-write.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/full-write.c b/lib/full-write.c
index 2a65ac5e5..aa8cff35d 100644
--- a/lib/full-write.c
+++ b/lib/full-write.c
@@ -34,7 +34,10 @@ extern int errno;
#endif
/* Write LEN bytes at PTR to descriptor DESC, retrying if interrupted.
- Return LEN upon success, write's (negative) error code otherwise. */
+ Return LEN upon success, write's (negative) error code otherwise.
+ As the name implies, this function writes all LEN bytes and returns
+ LEN or it fails and returns the negative value returned by the (final)
+ failing write. */
int
full_write (desc, ptr, len)