Go to the documentation of this file.
12 #define _LK_UNLCK 0 // unlock the file region
13 #define _LK_LOCK 1 // lock the file region
14 #define _LK_NBLCK 2 // non-blocking lock
15 #define _LK_RLCK 3 // lock for writing
16 #define _LK_NBRLCK 4 // non-blocking lock for writing
18 #if (defined _CRT_DECLARE_NONSTDC_NAMES && _CRT_DECLARE_NONSTDC_NAMES) || (!defined _CRT_DECLARE_NONSTDC_NAMES && !__STDC__)
19 #define LK_UNLCK _LK_UNLCK
20 #define LK_LOCK _LK_LOCK
21 #define LK_NBLCK _LK_NBLCK
22 #define LK_RLCK _LK_RLCK
23 #define LK_NBRLCK _LK_NBRLCK