fcntl.h 394 B

123456789101112131415161718192021222324252627
  1. #ifndef _ASM_FCNTL_H
  2. #define _ASM_FCNTL_H
  3. #define F_GETLK64 12 /* using 'struct flock64' */
  4. #define F_SETLK64 13
  5. #define F_SETLKW64 14
  6. struct flock {
  7. short l_type;
  8. short l_whence;
  9. off_t l_start;
  10. off_t l_len;
  11. pid_t l_pid;
  12. };
  13. struct flock64 {
  14. short l_type;
  15. short l_whence;
  16. loff_t l_start;
  17. loff_t l_len;
  18. pid_t l_pid;
  19. };
  20. #include <asm-generic/fcntl.h>
  21. #endif /* _ASM_FCNTL_H */