home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c063 / 1.ddi / INCLUDE.ZIP / LOCKING.H < prev    next >
Encoding:
C/C++ Source or Header  |  1992-02-18  |  493 b   |  19 lines

  1. /*  locking.h
  2.  
  3.     Definitions for mode parameter of locking() function.
  4.  
  5.     Copyright (c) 1990 by Borland International
  6.     All Rights Reserved.
  7. */
  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
  19.