Added O_NDELAY as synonym of O_NONBLOCK.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29136 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2009-02-05 11:07:20 +00:00
parent 01b178700f
commit 8eba0c540f

View File

@ -46,6 +46,7 @@
/* flags for open() and fcntl() */ /* flags for open() and fcntl() */
#define O_CLOEXEC 0x00000040 /* close on exec */ #define O_CLOEXEC 0x00000040 /* close on exec */
#define O_NONBLOCK 0x00000080 /* non blocking io */ #define O_NONBLOCK 0x00000080 /* non blocking io */
#define O_NDELAY O_NONBLOCK
#define O_APPEND 0x00000800 /* to end of file */ #define O_APPEND 0x00000800 /* to end of file */
#define O_TEXT 0x00004000 /* CR-LF translation */ #define O_TEXT 0x00004000 /* CR-LF translation */
#define O_BINARY 0x00008000 /* no translation */ #define O_BINARY 0x00008000 /* no translation */