home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1997 May / VPR9705A.ISO / VPR_DATA / PROGRAM / CBTRIAL / SETUP / DATA.Z / LOCKING.H < prev    next >
Text File  |  1997-02-14  |  618b  |  26 lines

  1. /*  locking.h
  2.  
  3.     Definitions for mode parameter of locking() function.
  4.  
  5. */
  6.  
  7. /*
  8.  *      C/C++ Run Time Library - Version 8.0
  9.  *
  10.  *      Copyright (c) 1990, 1997 by Borland International
  11.  *      All Rights Reserved.
  12.  *
  13.  */
  14. /* $Revision:   8.1  $ */
  15.  
  16. #if !defined(__LOCKING_H)
  17. #define __LOCKING_H
  18.  
  19. #define LK_UNLCK  0     /* unlock file region */
  20. #define LK_LOCK   1     /* lock file region, try for 10 seconds */
  21. #define LK_NBLCK  2     /* lock file region, don't block */
  22. #define LK_RLCK   3     /* same as LK_LOCK */
  23. #define LK_NBRLCK 4     /* same as LK_NBLCK */
  24.  
  25. #endif  /* __LOCKING_H */
  26.