chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doxygen; chatty logging in hope of catching a bug
[disorder]
/
lib
/
syscalls.h
diff --git
a/lib/syscalls.h
b/lib/syscalls.h
index 2b6918101b27e28e9b7f42cf9de861832348f04f..296084d79b4b510a6f41377e90541108916b4d8b 100644
(file)
--- a/
lib/syscalls.h
+++ b/
lib/syscalls.h
@@
-53,8
+53,9
@@
void xgettimeofday(struct timeval *, struct timezone *);
/* the above all call @fatal@ if the system call fails */
void nonblock(int fd);
/* the above all call @fatal@ if the system call fails */
void nonblock(int fd);
+void blocking(int fd);
void cloexec(int fd);
void cloexec(int fd);
-/* make @fd@ non-blocking/close-on-exec; call @fatal@ on error. */
+/* make @fd@ non-blocking/
blocking/
close-on-exec; call @fatal@ on error. */
int mustnotbeminus1(const char *what, int value);
/* If @value@ is -1, report an error including @what@. */
int mustnotbeminus1(const char *what, int value);
/* If @value@ is -1, report an error including @what@. */