summaryrefslogtreecommitdiff
path: root/nuttx/include/fcntl.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-07-12 00:41:06 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-07-12 00:41:06 +0000
commit32498f8db8a4194609e334ea95b3de569bd92784 (patch)
treefda2dcfc65df604fa2d99cd12319fab8535a5ac1 /nuttx/include/fcntl.h
parent489c0b453b4e44764516409b62cc73e2c6149b75 (diff)
downloadpx4-nuttx-32498f8db8a4194609e334ea95b3de569bd92784.tar.gz
px4-nuttx-32498f8db8a4194609e334ea95b3de569bd92784.tar.bz2
px4-nuttx-32498f8db8a4194609e334ea95b3de569bd92784.zip
Add gmtime and localtime
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1976 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/fcntl.h')
-rw-r--r--nuttx/include/fcntl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/include/fcntl.h b/nuttx/include/fcntl.h
index 5218e2473..66a66e0f5 100644
--- a/nuttx/include/fcntl.h
+++ b/nuttx/include/fcntl.h
@@ -57,8 +57,9 @@
#define O_APPEND 0x10 /* Keep contents, append to end */
#define O_TRUNC 0x20 /* Delete contents */
#define O_NONBLOCK 0x40 /* Don't wait for data */
+#define O_NDELAY O_NONBLOCK
#define O_SYNC 0x80 /* Synchronize output on write */
-#define O_DSYNC OSYNC
+#define O_DSYNC O_SYNC
#define O_RSYNC 0x00 /* Sychronize input on read */
#define O_ACCMODE 0x00 /* Required by POSIX */