该结构是在lock.h文件中定义。
lock.h File
功能
定义一些文件的锁的选项
Description
The flock structure in the /usr/include/sys/flock.h file, which describes a lock, contains the following fields:
struct flock 作为fcntl函数的第三个参数,使用F_SETLK,设置了其参数。
该结构是在lock.h文件中定义。
lock.h File
功能
定义一些文件的锁的选项
Description
The flock structure in the /usr/include/sys/flock.h file, which describes a lock, contains the following fields:
struct flock 作为fcntl函数的第三个参数,使用F_SETLK,设置了其参数。
| 评论 |
|
|