logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

file.h (261B)


  1. #ifndef _SYS_FILE_H
  2. #define _SYS_FILE_H
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. #define LOCK_SH 1
  7. #define LOCK_EX 2
  8. #define LOCK_NB 4
  9. #define LOCK_UN 8
  10. #define L_SET 0
  11. #define L_INCR 1
  12. #define L_XTND 2
  13. int flock(int, int);
  14. #ifdef __cplusplus
  15. }
  16. #endif
  17. #endif