locking.mh
来自「开放源码的编译器open watcom 1.6.0版的源代码」· MH 代码 · 共 31 行
MH
31 行
/*
* sys/locking.h Flags for locking() function
*
:include crwat.sp
*/
#ifndef __LOCKING_H_INCLUDED
#define __LOCKING_H_INCLUDED
:include readonly.sp
:include cpluspro.sp
#ifndef _COMDEF_H_INCLUDED
#include <_comdef.h>
#endif
#define _LK_UNLCK 0 /* unlock region of a file */
#define LK_UNLCK _LK_UNLCK
#define _LK_LOCK 1 /* lock a region of a file */
#define LK_LOCK _LK_LOCK
#define _LK_NBLCK 2 /* non-blocking lock */
#define LK_NBLCK _LK_NBLCK
#define _LK_RLCK 3 /* lock for writing */
#define LK_RLCK _LK_RLCK
#define _LK_NBRLCK 4 /* non-blocking lock for writing */
#define LK_NBRLCK _LK_NBRLCK
_WCRTLINK extern int locking(int __handle,int __mode,unsigned long __nbyte);
_WCRTLINK extern int _locking(int __handle,int __mode,unsigned long __nbyte);
:include cplusepi.sp
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?