From: Jim Meyering Date: Tue, 3 Dec 2002 10:59:31 +0000 (+0000) Subject: (safe_write): Change comment to mention SAFE_WRITE_ERROR. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f877e390f4a33272bc62d21120c6590222cbc633;p=pspp (safe_write): Change comment to mention SAFE_WRITE_ERROR. --- diff --git a/lib/safe-write.c b/lib/safe-write.c index 47200c3fb1..564fc5021c 100644 --- a/lib/safe-write.c +++ b/lib/safe-write.c @@ -58,7 +58,7 @@ extern int errno; #endif /* Write up to COUNT bytes at BUF to descriptor FD, retrying if interrupted. - Return the actual number of bytes written, zero for EOF, or SAFE_RW_ERROR + Return the actual number of bytes written, zero for EOF, or SAFE_WRITE_ERROR upon error. */ size_t safe_write (int fd, const void *buf, size_t count)