projects
/
libc-test
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update api tests with options
[libc-test]
/
src
/
api
/
fcntl.c
diff --git
a/src/api/fcntl.c
b/src/api/fcntl.c
index
4c25cdc
..
bd1d8dd
100644
(file)
--- a/
src/api/fcntl.c
+++ b/
src/api/fcntl.c
@@
-1,4
+1,5
@@
#include <fcntl.h>
#include <fcntl.h>
+#include "options.h"
#define T(t) (t*)0;
#define F(t,n) {t *y = &x.n;}
#define C(n) switch(n){case n:;}
#define T(t) (t*)0;
#define F(t,n) {t *y = &x.n;}
#define C(n) switch(n){case n:;}
@@
-28,9
+29,11
@@
C(O_NOCTTY)
C(O_TRUNC)
C(O_TTY_INIT)
C(O_APPEND)
C(O_TRUNC)
C(O_TTY_INIT)
C(O_APPEND)
-C(O_DSYNC)
C(O_NONBLOCK)
C(O_NONBLOCK)
+#ifdef POSIX_SYNCHRONIZED_IO
+C(O_DSYNC)
C(O_RSYNC)
C(O_RSYNC)
+#endif
C(O_SYNC)
C(O_ACCMODE)
C(O_EXEC)
C(O_SYNC)
C(O_ACCMODE)
C(O_EXEC)