摘要: 表头文件 #include 定义函数 int flock(int fd,int operation); 函数说明 flock()会依参数operation所指定的方式对参数fd所指的文件做各种锁定或解除锁定的动作。此函数只能锁定整个文件,无法锁定文件的某一区域。 参数 operation有下列... 阅读全文
posted @ 2014-05-21 10:33 dreamforever 阅读(918) 评论(0) 推荐(0) 编辑