home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c221 / 5.ddi / MWHC.005 / A1 < prev    next >
Encoding:
Text File  |  1992-01-07  |  590 b   |  30 lines

  1. /*
  2.  *   locking.h -- non-ANSI
  3.  *
  4.  *   Constants needed by the file-locking function to determine
  5.  *   locking, unlocking, and locking with retries.
  6.  *
  7.  *           Copyright (c) 1990, MetaWare Incorporated
  8.  */
  9.  
  10. #ifndef _LOCKING_H
  11. #define _LOCKING_H
  12.  
  13. #define _LK_UNLCK   0
  14. #define _LK_LOCK    1
  15. #define _LK_NBLCK   2
  16. #define _LK_RLCK    3
  17. #define _LK_NBRLCK  4
  18.  
  19. #ifdef __HIGHC__
  20.  
  21. #define LK_UNLCK   _LK_UNLCK 
  22. #define LK_LOCK    _LK_LOCK 
  23. #define LK_NBLCK   _LK_NBLCK 
  24. #define LK_RLCK    _LK_RLCK 
  25. #define LK_NBRLCK  _LK_NBRLCK 
  26.  
  27. #endif
  28.  
  29. #endif /* _LOCKING_H */
  30.