mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 11:37:35 +00:00
fa20edc44d
- Remove most __ASSEMBLER__ __LINKER__ ifdefs - Rename libc/intrin/bits.h to libc/serialize.h - Block pthread cancelation in fchmodat() polyfill - Remove `clang-format off` statements in third_party
19 lines
420 B
C
19 lines
420 B
C
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_LOCK_H_
|
|
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_LOCK_H_
|
|
COSMOPOLITAN_C_START_
|
|
|
|
extern const int LOCK_EX;
|
|
extern const int LOCK_NB;
|
|
extern const int LOCK_SH;
|
|
extern const int LOCK_UN;
|
|
extern const int LOCK_UNLOCK_CACHE;
|
|
|
|
COSMOPOLITAN_C_END_
|
|
|
|
#define LOCK_EX 2
|
|
#define LOCK_NB LOCK_NB
|
|
#define LOCK_SH LOCK_SH
|
|
#define LOCK_UN LOCK_UN
|
|
|
|
|
|
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_LOCK_H_ */
|