diff options
| author | 2024-04-25 21:24:10 +0100 | |
|---|---|---|
| committer | 2024-04-25 22:32:27 +0000 | |
| commit | 2d04cacc5322951f187bb17e017c12920ac8ebe2 (patch) | |
| tree | 80ee017efa878dfd5344b44249e6a241f2a7f6e2 /v4.0/src/TOOLS/BLD/INC/SYS/LOCKING.H | |
| parent | Merge pull request #430 from jpbaltazar/typoptbr (diff) | |
| download | ms-dos-main.tar.gz ms-dos-main.tar.xz ms-dos-main.zip | |
Diffstat (limited to 'v4.0/src/TOOLS/BLD/INC/SYS/LOCKING.H')
| -rw-r--r-- | v4.0/src/TOOLS/BLD/INC/SYS/LOCKING.H | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/v4.0/src/TOOLS/BLD/INC/SYS/LOCKING.H b/v4.0/src/TOOLS/BLD/INC/SYS/LOCKING.H new file mode 100644 index 0000000..fb76160 --- /dev/null +++ b/v4.0/src/TOOLS/BLD/INC/SYS/LOCKING.H | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | /*** | ||
| 2 | *sys\locking.h - flags for locking() function | ||
| 3 | * | ||
| 4 | * Copyright (c) 1985-1988, Microsoft Corporation. All rights reserved. | ||
| 5 | * | ||
| 6 | *Purpose: | ||
| 7 | * This file defines the flags for the locking() function. | ||
| 8 | * [System V] | ||
| 9 | * | ||
| 10 | *******************************************************************************/ | ||
| 11 | |||
| 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 */ | ||