summaryrefslogtreecommitdiff
path: root/legacy/evil/src/lib/evil_fcntl.h
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2010-01-29 09:34:26 +0000
committerVincent Torri <vincent.torri@gmail.com>2010-01-29 09:34:26 +0000
commit29db27970c4be4fc08f31100779758a93ae56f8c (patch)
tree40e4ebea50e219fb641ad0414a6ab724731cdb54 /legacy/evil/src/lib/evil_fcntl.h
parent0aec2b4dcd1ba4918bff2be94fd364183c11d723 (diff)
* src/lib/evil_fcntl.c:
* src/lib/evil_fcntl.h: * src/lib/evil_unistd.c: make pipe() blocking by default and allow fcntl() to set a socket to be non-blocking * src/lib/evil_stdlib.c: fix warning SVN revision: 45698
Diffstat (limited to 'legacy/evil/src/lib/evil_fcntl.h')
-rw-r--r--legacy/evil/src/lib/evil_fcntl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/legacy/evil/src/lib/evil_fcntl.h b/legacy/evil/src/lib/evil_fcntl.h
index 83cd08d..e439fd7 100644
--- a/legacy/evil/src/lib/evil_fcntl.h
+++ b/legacy/evil/src/lib/evil_fcntl.h
@@ -14,6 +14,12 @@
14# define FD_CLOEXEC 1 14# define FD_CLOEXEC 1
15 15
16/** 16/**
17 * @def O_NONBLOCK
18 * Specifies that the socket is in non-blocking mode.
19 */
20# define O_NONBLOCK 04000
21
22/**
17 * @def F_SETFD 23 * @def F_SETFD
18 * Specifies that fcntl() should set the file descriptor flags 24 * Specifies that fcntl() should set the file descriptor flags
19 * associated with the filedes argument. 25 * associated with the filedes argument.