From dee715bb6f63e2a1eb4842c1522476e9993523a5 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 27 Feb 1996 03:33:23 +0000 Subject: Elaborate comment. --- lib/full-write.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib') 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) -- cgit v1.2.3-54-g00ecf