Logo
Explore Help
Sign In
fluencelabs/musl
1
0
Fork 0
You've already forked musl
mirror of https://github.com/fluencelabs/musl synced 2025-06-13 06:51:43 +00:00
Code Issues Projects Releases Wiki Activity
Files
55b123b5ede22f5c401d2992ae933a2f935dac6c
musl/src/linux/flock.c

8 lines
110 B
C
Raw Normal View History

add syscall wrapper for flock it should be noted that flock does not mix well with standard fcntl locking, but nonetheless some applications will attempt to use flock instead of fcntl if both exist. options to configure or small patches may be needed. debian maintainers have plenty of experience with this unfortunate situation...
2011-04-13 14:55:26 -04:00
#include <sys/file.h>
#include "syscall.h"
int flock(int fd, int op)
{
return syscall(SYS_flock, fd, op);
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.0 Page: 162ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API