home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 May / Pcwk5b98.iso / Borland / Cplus45 / BC45 / INCSYS.PAK / LOCKING.H next >
Text File  |  1995-08-29  |  591b  |  25 lines

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