summaryrefslogtreecommitdiff
path: root/src/fcntl/struct_flock.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-02-09 13:14:01 -0500
committerJakob Kaivo <jkk@ung.org>2019-02-09 13:14:01 -0500
commit253a32e2f9ff1cbb8edbe7c79834a678daebeb93 (patch)
tree599cf5baf01c6dae33a2f89989b08b7d553f7fd0 /src/fcntl/struct_flock.c
parent88d0b5e7ffbf0554b236dc46225846061b5f4817 (diff)
merge POSIX.1-1988/1990
Diffstat (limited to 'src/fcntl/struct_flock.c')
-rw-r--r--src/fcntl/struct_flock.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/fcntl/struct_flock.c b/src/fcntl/struct_flock.c
new file mode 100644
index 00000000..c910e0ff
--- /dev/null
+++ b/src/fcntl/struct_flock.c
@@ -0,0 +1,13 @@
+#include <fcntl.h>
+
+struct flock {
+ short l_type;
+ short l_whence;
+ off_t l_start;
+ off_t l_len;
+ pid_t l_pid;
+};
+
+/*
+POSIX(1)
+*/