Mercurial > gnulib
changeset 20247:103e37b68041
Elaborate comment.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Tue, 27 Feb 1996 03:33:23 +0000 |
parents | c725879bb81a |
children | 58e77a73a7d5 |
files | lib/full-write.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/full-write.c Sat Feb 24 18:30:46 1996 +0000 +++ b/lib/full-write.c Tue Feb 27 03:33:23 1996 +0000 @@ -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)