From 8eba0c540fe3760d43610daa88b14c8c4687f24b Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Thu, 5 Feb 2009 11:07:20 +0000 Subject: [PATCH] Added O_NDELAY as synonym of O_NONBLOCK. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29136 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/posix/fcntl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/headers/posix/fcntl.h b/headers/posix/fcntl.h index b5aeabbb59..47cf98e3c3 100644 --- a/headers/posix/fcntl.h +++ b/headers/posix/fcntl.h @@ -46,6 +46,7 @@ /* flags for open() and fcntl() */ #define O_CLOEXEC 0x00000040 /* close on exec */ #define O_NONBLOCK 0x00000080 /* non blocking io */ +#define O_NDELAY O_NONBLOCK #define O_APPEND 0x00000800 /* to end of file */ #define O_TEXT 0x00004000 /* CR-LF translation */ #define O_BINARY 0x00008000 /* no translation */