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-05-10 06:07:28 +00:00
Code Issues Projects Releases Wiki Activity
musl/include/sys/file.h

22 lines
261 B
C
Raw Normal View History

initial check-in, version 0.5.0
2011-02-12 00:22:29 -05:00
#ifndef _SYS_FILE_H
#define _SYS_FILE_H
#ifdef __cplusplus
extern "C" {
#endif
#define LOCK_SH 1
#define LOCK_EX 2
#define LOCK_NB 4
#define LOCK_UN 8
various header cleanups, some related to _BSD_SOURCE addition there is no reason to avoid multiple identical macro definitions; this is perfectly legal C, and even with the maximal warning options enabled, gcc does not issue any warning for it.
2012-05-22 22:04:55 -04:00
#define L_SET 0
#define L_INCR 1
#define L_XTND 2
initial check-in, version 0.5.0
2011-02-12 00:22:29 -05:00
various header cleanups, some related to _BSD_SOURCE addition there is no reason to avoid multiple identical macro definitions; this is perfectly legal C, and even with the maximal warning options enabled, gcc does not issue any warning for it.
2012-05-22 22:04:55 -04:00
int flock(int, int);
initial check-in, version 0.5.0
2011-02-12 00:22:29 -05:00
#ifdef __cplusplus
}
#endif
#endif
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.7 Page: 128ms Template: 3ms
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