home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 9 / CDACTUAL9.iso / progs / CB / DATA.Z / LOCKING.H < prev    next >
Encoding:
C/C++ Source or Header  |  1996-04-19  |  491 b   |  20 lines

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