projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b060796
)
Elaborate comment.
author
Jim Meyering
<jim@meyering.net>
Tue, 27 Feb 1996 03:33:23 +0000
(
03:33
+0000)
committer
Jim Meyering
<jim@meyering.net>
Tue, 27 Feb 1996 03:33:23 +0000
(
03:33
+0000)
lib/full-write.c
patch
|
blob
|
history
diff --git
a/lib/full-write.c
b/lib/full-write.c
index 2a65ac5e528020db63f927dbc7f0b60257f0a80b..aa8cff35de79c52c0a128a7db2b848936a5dbcd8 100644
(file)
--- 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)