fcntl values 1024 and up are universal, arch-independent. later I'll
add some of the other linux-specific ones for notify, leases, pipe
size, etc. here too.
#define F_GETLK 12
#define F_SETLK 13
#define F_SETLKW 14
-
-#define F_DUPFD_CLOEXEC 1030
#define F_GETLK 12
#define F_SETLK 13
#define F_SETLKW 14
-
-#define F_DUPFD_CLOEXEC 1030
#define F_GETLK 5
#define F_SETLK 6
#define F_SETLKW 7
-
-#define F_DUPFD_CLOEXEC 1030
#define O_WRONLY 01
#define O_RDWR 02
+#define F_DUPFD_CLOEXEC 1030
+
#define F_RDLCK 0
#define F_WRLCK 1
#define F_UNLCK 2