summaryrefslogtreecommitdiff
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
commita5356369542b84bf20c4ea7bf48cec900de31d6a (patch)
tree8b48f72ee534429f4e06cde0ff3682d5f9ae5c3f
parentb0607966151aa740f9bf6544ef89c1d8550721bf (diff)
downloadgnulib-a5356369542b84bf20c4ea7bf48cec900de31d6a.tar.gz
Elaborate comment.
-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 2a65ac5e52..aa8cff35de 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)