fcntl.h 844 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #define O_CREAT 0400
  2. #define O_EXCL 02000
  3. #define O_NOCTTY 04000
  4. #define O_TRUNC 01000
  5. #define O_APPEND 0010
  6. #define O_NONBLOCK 0200
  7. #define O_DSYNC 0020
  8. #define O_SYNC 040020
  9. #define O_RSYNC 040020
  10. #define O_DIRECTORY 0200000
  11. #define O_NOFOLLOW 0400000
  12. #define O_CLOEXEC 02000000
  13. #define O_ASYNC 010000
  14. #define O_DIRECT 0100000
  15. #define O_LARGEFILE 020000
  16. #define O_NOATIME 01000000
  17. #define O_PATH 010000000
  18. #define O_TMPFILE 020200000
  19. #define O_NDELAY O_NONBLOCK
  20. #define F_DUPFD 0
  21. #define F_GETFD 1
  22. #define F_SETFD 2
  23. #define F_GETFL 3
  24. #define F_SETFL 4
  25. #define F_SETOWN 24
  26. #define F_GETOWN 23
  27. #define F_SETSIG 10
  28. #define F_GETSIG 11
  29. #define F_GETLK 33
  30. #define F_SETLK 34
  31. #define F_SETLKW 35
  32. #define F_SETOWN_EX 15
  33. #define F_GETOWN_EX 16
  34. #define F_GETOWNER_UIDS 17