home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c083 / 1.ddi / GENSYS.PAK / LOCKING.H next >
Encoding:
C/C++ Source or Header  |  1993-12-02  |  464 b   |  19 lines

  1. /*  locking.h
  2.  
  3.     Definitions for mode parameter of locking() function.
  4.  
  5. */
  6.  
  7. /* $Copyright: 1990$ */
  8.  
  9. #if !defined(__LOCKING_H)
  10. #define __LOCKING_H
  11.  
  12. #define LK_UNLCK  0     /* unlock file region */
  13. #define LK_LOCK   1     /* lock file region, try for 10 seconds */
  14. #define LK_NBLCK  2     /* lock file region, don't block */
  15. #define LK_RLCK   3     /* same as LK_LOCK */
  16. #define LK_NBRLCK 4     /* same as LK_NBLCK */
  17.  
  18. #endif  /* __LOCKING_H */
  19.