summaryrefslogtreecommitdiff
path: root/tests/test-fcntl-h.c
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2009-08-22 21:24:37 -0600
committerEric Blake <ebb9@byu.net>2009-08-22 21:24:37 -0600
commit7d8f602d6f6c1ac2633c23140c93aaca098c6a2a (patch)
tree2e4df36ecabca453cc3acd971c5907bd5bac969a /tests/test-fcntl-h.c
parent1786a4159d6a904f76ba4148b04a75a75072c297 (diff)
downloadgnulib-7d8f602d6f6c1ac2633c23140c93aaca098c6a2a.tar.gz
fcntl-h: add O_TTY_INIT support
* lib/fcntl.in.h (O_TTY_INIT): Support another POSIX macro. * tests/test-fcntl-h.c (o): Test it. * doc/posix-headers/fcntl.texi (fcntl.h): Update documentation. Signed-off-by: Eric Blake <ebb9@byu.net>
Diffstat (limited to 'tests/test-fcntl-h.c')
-rw-r--r--tests/test-fcntl-h.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-fcntl-h.c b/tests/test-fcntl-h.c
index 127f49767d..649c44ad4b 100644
--- a/tests/test-fcntl-h.c
+++ b/tests/test-fcntl-h.c
@@ -22,7 +22,7 @@
/* Check that the various O_* macros are defined. */
int o = O_DIRECT | O_DIRECTORY | O_DSYNC | O_NDELAY | O_NOATIME | O_NONBLOCK
- | O_NOCTTY | O_NOFOLLOW | O_NOLINKS | O_RSYNC | O_SYNC
+ | O_NOCTTY | O_NOFOLLOW | O_NOLINKS | O_RSYNC | O_SYNC | O_TTY_INIT
| O_BINARY | O_TEXT;
/* Check that the various SEEK_* macros are defined. */