diff options
author | Jakob Kaivo <jkk@ung.org> | 2019-02-09 15:42:20 -0500 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2019-02-09 15:42:20 -0500 |
commit | a0dd1ebaf7613657a39ca22882ac6eaafa4a932e (patch) | |
tree | dc42ba738026d373fde4e6df7913e1bdd3b4ac30 /src/unistd/fsync.c | |
parent | 452ac2f7d9d5ecd57e80d95e5752f8c8304ff0b0 (diff) |
merge XOPEN identifiers
Diffstat (limited to 'src/unistd/fsync.c')
-rw-r--r-- | src/unistd/fsync.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/unistd/fsync.c b/src/unistd/fsync.c new file mode 100644 index 00000000..35d70cbb --- /dev/null +++ b/src/unistd/fsync.c @@ -0,0 +1,15 @@ +#include <unistd.h> +#include "__nonstd.h" + +int fsync(int fildes) +{ + __POSIX_MIN(199309L); + __POSIX_OPTION(_FSYNC); + __XOPEN_MIN(4); + __SC(int, fildes); +} + +/* +XOPEN(4) +POSIX(199309) +*/ |