home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c500 / 1.ddi / H_SYS.WPK / LOCKING.H next >
Encoding:
C/C++ Source or Header  |  1992-05-28  |  527 b   |  18 lines

  1. /*
  2.  *  sys/locking.h    Flags for locking() function
  3.  *
  4.  *  Copyright (C) by WATCOM Systems Inc. 1988-1992.  All rights reserved.
  5.  */
  6. #ifndef _LOCKING_H_INCLUDED
  7.  
  8. #define LK_UNLCK    0    /* unlock region of a file */
  9. #define LK_LOCK     1    /* lock a region of a file */
  10. #define LK_NBLCK    2    /* non-blocking lock */
  11. #define LK_RLCK     3    /* lock for writing */
  12. #define LK_NBRLCK   4    /* non-blocking lock for writing */
  13.  
  14. int locking(int __handle,int __mode,unsigned long __nbyte);
  15.  
  16. #define _LOCKING_H_INCLUDED
  17. #endif
  18.