摘要:
#include <unistd.h>#include <stdio.h>#include <errno.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>const char *file="locktest";int main(void){ int file_res; file_res=open(file,O_RDWR|O_CREAT|O_EXCL,0444); if(file_res == -1) { printf(&quo 阅读全文
posted @ 2012-10-17 23:00
Myths
阅读(478)
评论(0)
推荐(0)
浙公网安备 33010602011771号