locking.h

来自「Microsoft MS-DOS6.0 完整源代码」· C头文件 代码 · 共 17 行

H
17
字号
/***
*sys\locking.h - flags for locking() function
*
*   Copyright (c) 1985-1988, 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 */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?