3 * This file has no copyright assigned and is placed in the Public Domain.
4 * This file is a part of the mingw-runtime package.
5 * No warranty is given; refer to the file DISCLAIMER within the package.
7 * Constants for the mode parameter of the locking function.
14 /* All the headers include this file. */
17 #define _LK_UNLCK 0 /* Unlock */
18 #define _LK_LOCK 1 /* Lock */
19 #define _LK_NBLCK 2 /* Non-blocking lock */
20 #define _LK_RLCK 3 /* Lock for read only */
21 #define _LK_NBRLCK 4 /* Non-blocking lock for read only */
24 #define LK_UNLCK _LK_UNLCK
25 #define LK_LOCK _LK_LOCK
26 #define LK_NBLCK _LK_NBLCK
27 #define LK_RLCK _LK_RLCK
28 #define LK_NBRLCK _LK_NBRLCK
29 #endif /* Not NO_OLDNAMES */
31 #endif /* Not _LOCKING_H_ */