Browse Source

added missing O_NDELAY

Rich Felker 14 năm trước cách đây
mục cha
commit
f38c154be2
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      include/bits/fcntl.h

+ 1 - 0
include/bits/fcntl.h

@@ -15,6 +15,7 @@
 #define O_CLOEXEC  02000000
 #define O_CLOEXEC  02000000
 
 
 #ifdef _GNU_SOURCE
 #ifdef _GNU_SOURCE
+#define O_NDELAY O_NONBLOCK
 #define O_ASYNC      020000
 #define O_ASYNC      020000
 #define O_DIRECT     040000
 #define O_DIRECT     040000
 #define O_NOATIME  01000000
 #define O_NOATIME  01000000