fcntl.h 530 B

12345678910111213141516171819202122232425
  1. #ifndef _PPC_FCNTL_H
  2. #define _PPC_FCNTL_H
  3. #define O_DIRECTORY 040000 /* must be a directory */
  4. #define O_NOFOLLOW 0100000 /* don't follow links */
  5. #define O_LARGEFILE 0200000
  6. #define O_DIRECT 0400000 /* direct disk access hint */
  7. #ifndef __powerpc64__
  8. #define F_GETLK64 12 /* using 'struct flock64' */
  9. #define F_SETLK64 13
  10. #define F_SETLKW64 14
  11. struct flock64 {
  12. short l_type;
  13. short l_whence;
  14. loff_t l_start;
  15. loff_t l_len;
  16. pid_t l_pid;
  17. };
  18. #endif
  19. #include <asm-generic/fcntl.h>
  20. #endif /* _PPC_FCNTL_H */