git://git.exim.org
/
users
/
jgh
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Provide readn() as a wrapper around read()
[users/jgh/exim.git]
/
src
/
src
/
exim.h
diff --git
a/src/src/exim.h
b/src/src/exim.h
index d03b48c66abaa52b6f2ea366dbb62f0d00589b10..4ca28130a5e5fa57feb57254dfc8ff7272a54783 100644
(file)
--- a/
src/src/exim.h
+++ b/
src/src/exim.h
@@
-596,5
+596,9
@@
default to EDQUOT if it exists, otherwise ENOSPC. */
# undef DISABLE_DNSSEC
#endif
+/* Wrapper around read(2) to read all the data we requested (BLOCKING) */
+ssize_t
+readn(int fd, void *buffer, size_t len);
+
#endif
/* End of exim.h */