cosmopolitan/libc/sysv/consts/lock.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
419 B
C
Raw Normal View History

2020-06-15 14:18:57 +00:00
#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;
2020-06-15 14:18:57 +00:00
COSMOPOLITAN_C_END_
#define LOCK_EX 2
#define LOCK_NB LOCK_NB
#define LOCK_SH LOCK_SH
#define LOCK_UN LOCK_UN
2020-06-15 14:18:57 +00:00
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_LOCK_H_ */