work around regression building for armhf with clang (compiler bug)
[musl.git] / include / sys / file.h
blob4fc83b981874c059ae82aa6e41cbd5b6f0bde1d7
1 #ifndef _SYS_FILE_H
2 #define _SYS_FILE_H
3 #ifdef __cplusplus
4 extern "C" {
5 #endif
7 #define LOCK_SH 1
8 #define LOCK_EX 2
9 #define LOCK_NB 4
10 #define LOCK_UN 8
12 #define L_SET 0
13 #define L_INCR 1
14 #define L_XTND 2
16 int flock(int, int);
18 #ifdef __cplusplus
20 #endif
21 #endif