projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
implement POSIX asynchronous io
[oweals/musl.git]
/
include
/
sys
/
file.h
1
#ifndef _SYS_FILE_H
2
#define _SYS_FILE_H
3
#ifdef __cplusplus
4
extern "C" {
5
#endif
6
7
#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
8
9
#define LOCK_SH 1
10
#define LOCK_EX 2
11
#define LOCK_NB 4
12
#define LOCK_UN 8
13
14
extern int flock(int, int);
15
16
#endif
17
18
#ifdef __cplusplus
19
}
20
#endif
21
#endif