home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Languages / Quick C 2.0 / INCLUDE / SYS / LOCKING.H next >
Encoding:
C/C++ Source or Header  |  1988-12-05  |  468 b   |  17 lines

  1. /***
  2. *sys\locking.h - flags for locking() function
  3. *
  4. *    Copyright (c) 1985-1989, Microsoft Corporation.  All rights reserved.
  5. *
  6. *Purpose:
  7. *    This file defines the flags for the locking() function.
  8. *    [System V]
  9. *
  10. ****/
  11.  
  12. #define LK_UNLCK    0    /* unlock the file region */
  13. #define LK_LOCK        1    /* lock the file region */
  14. #define LK_NBLCK    2    /* non-blocking lock */
  15. #define LK_RLCK        3    /* lock for writing */
  16. #define LK_NBRLCK    4    /* non-blocking lock for writing */
  17.