Linux系统编程之struct flock 结构体

2014-11-24 11:22:46 ? 作者: ? 浏览: 1

该结构是在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,设置了其参数。


-->

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: