musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat
-rw-r--r--src/linux/flock.c 7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/linux/flock.c b/src/linux/flock.c
new file mode 100644
index 00000000..87aa5cfe
--- /dev/null
+++ b/src/linux/flock.c
@@ -0,0 +1,7 @@
+#include <sys/file.h>
+#include "syscall.h"
+
+int flock(int fd, int op)
+{
+ return syscall(SYS_flock, fd, op);
+}
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月29日 07:14:52 +0000

AltStyle によって変換されたページ (->オリジナル) /