UNIX環境高級編程 高級I/O

    相關函數列表 //調用open函數時指定O_NONBLOCK參數即可打開非阻塞I/O //記錄鎖 #include <fcntl.h> int fcntl(int fd, int cmd, ... /* struct flock *flockptr */ ); //鎖記錄的 flock結構體 struct flock { short l_type; //希望加鎖
相關文章
相關標籤/搜索