home *** CD-ROM | disk | FTP | other *** search
- /* locking.h
-
- Definitions for mode parameter of locking() function.
-
- Copyright (c) 1990 by Borland International
- All Rights Reserved.
- */
-
- #if !defined(__LOCKING_H)
- #define __LOCKING_H
-
- #define LK_UNLCK 0 /* unlock file region */
- #define LK_LOCK 1 /* lock file region, try for 10 seconds */
- #define LK_NBLCK 2 /* lock file region, don't block */
- #define LK_RLCK 3 /* same as LK_LOCK */
- #define LK_NBRLCK 4 /* same as LK_NBLCK */
-
- #endif
-