changeset 556:6a27e67cc59a

Elaborate comment.
author Jim Meyering <jim@meyering.net>
date Tue, 27 Feb 1996 03:33:23 +0000
parents f1cf079f077d
children 3e36672c3a83
files lib/full-write.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib/full-write.c
+++ b/lib/full-write.c
@@ -34,7 +34,10 @@
 #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)