Elaborate comment.
authorJim Meyering <jim@meyering.net>
Tue, 27 Feb 1996 03:33:23 +0000 (03:33 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 27 Feb 1996 03:33:23 +0000 (03:33 +0000)
lib/full-write.c

index 2a65ac5..aa8cff3 100644 (file)
@@ -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)