Displaying 2 results from an estimated 2 matches for "7b580f3".
Did you mean:
3b584f3
2011 Sep 06
0
[PATCH] include: [sys/file.h] define flock(2) there
...attems <max at stro.at>
---
usr/include/sys/file.h | 9 +++++++++
usr/include/unistd.h | 1 -
2 files changed, 9 insertions(+), 1 deletions(-)
create mode 100644 usr/include/sys/file.h
diff --git a/usr/include/sys/file.h b/usr/include/sys/file.h
new file mode 100644
index 0000000..7b580f3
--- /dev/null
+++ b/usr/include/sys/file.h
@@ -0,0 +1,9 @@
+#ifndef _SYS_FILE_H
+#define _SYS_FILE_H
+
+/* LOCK_ definitions */
+#include <fcntl.h>
+
+__extern int flock(int, int);
+
+#endif /* _SYS_FILE_H */
diff --git a/usr/include/unistd.h b/usr/include/unistd.h
index f286c33..3eaeaee 1006...
2011 Dec 04
0
[GIT PULL] klibc minor fixes
...ware that expects flock to be defined in that file and
complain that it is missing in klibc. Current declaration is in
unistd.h.
Signed-off-by: maximilian attems <max at stro.at>
diff --git a/usr/include/sys/file.h b/usr/include/sys/file.h
new file mode 100644
index 0000000..7b580f3
--- /dev/null
+++ b/usr/include/sys/file.h
@@ -0,0 +1,9 @@
+#ifndef _SYS_FILE_H
+#define _SYS_FILE_H
+
+/* LOCK_ definitions */
+#include <fcntl.h>
+
+__extern int flock(int, int);
+
+#endif /* _SYS_FILE_H */
diff --git a/usr/include/unistd.h b/usr/include/unistd.h
index f286c33..3eaeaee 1006...