summaryrefslogtreecommitdiffstats
path: root/private/os2/client/thunk/include/sys/locking.h
blob: fc097cb3b1e61ef238b5c44f1b6002b5d191d649 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/***
*sys\locking.h - flags for locking() function
*
*	Copyright (c) 1985-1990, Microsoft Corporation.  All rights reserved.
*
*Purpose:
*	This file defines the flags for the locking() function.
*	[System V]
*
****/

#define LK_UNLCK	0	/* unlock the file region */
#define LK_LOCK 	1	/* lock the file region */
#define LK_NBLCK	2	/* non-blocking lock */
#define LK_RLCK 	3	/* lock for writing */
#define LK_NBRLCK	4	/* non-blocking lock for writing */