diff options
Diffstat (limited to 'nacl/curvecp/blocking.c')
-rw-r--r-- | nacl/curvecp/blocking.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/nacl/curvecp/blocking.c b/nacl/curvecp/blocking.c deleted file mode 100644 index 1594259c..00000000 --- a/nacl/curvecp/blocking.c +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | #include <fcntl.h> | ||
2 | #include "blocking.h" | ||
3 | |||
4 | void blocking_enable(int fd) | ||
5 | { | ||
6 | fcntl(fd,F_SETFL,fcntl(fd,F_GETFL,0) & ~O_NONBLOCK); | ||
7 | } | ||
8 | |||
9 | void blocking_disable(int fd) | ||
10 | { | ||
11 | fcntl(fd,F_SETFL,fcntl(fd,F_GETFL,0) | O_NONBLOCK); | ||
12 | } | ||