[Glibc-bsd-commits] r4203 - trunk/glibc-ports/kfreebsd/bits
Robert Millan
rmh at alioth.debian.org
Wed Apr 18 20:45:57 UTC 2012
Author: rmh
Date: 2012-04-18 20:45:56 +0000 (Wed, 18 Apr 2012)
New Revision: 4203
Modified:
trunk/glibc-ports/kfreebsd/bits/fcntl.h
Log:
Add O_TTY_INIT and O_CLOEXEC.
Modified: trunk/glibc-ports/kfreebsd/bits/fcntl.h
===================================================================
--- trunk/glibc-ports/kfreebsd/bits/fcntl.h 2012-04-16 18:40:56 UTC (rev 4202)
+++ trunk/glibc-ports/kfreebsd/bits/fcntl.h 2012-04-18 20:45:56 UTC (rev 4203)
@@ -65,6 +65,11 @@
# define O_RSYNC O_SYNC /* Synchronize read operations. */
#endif
+#if _POSIX_C_SOURCE >= 200809L
+#define O_TTY_INIT 0x00080000 /* Restore default termios attributes */
+#define O_CLOEXEC 0x00100000
+#endif
+
/* Since 'off_t' is 64-bit, O_LARGEFILE is a no-op. */
#define O_LARGEFILE 0
More information about the Glibc-bsd-commits
mailing list