LibC: reorder LOCK_SH and LOCK_EX

Some software im porting has static asserts for these :)
This commit is contained in:
2026-05-22 22:33:17 +03:00
parent 9ccdebcd96
commit 62e2f4896a

View File

@@ -6,9 +6,9 @@
__BEGIN_DECLS
#define LOCK_UN 0
#define LOCK_EX 1
#define LOCK_SH 2
#define LOCK_NB 4
#define LOCK_SH 1
#define LOCK_EX 2
#define LOCK_NB (1 << 2)
int flock(int fd, int op);