fcntl函数
fcntl函数fcntl函数提供了对文件描述符的各种控制操作。fcntl函数是由POSIX规范指定的首先方法。
12#include <fcntl.h>int fcntl(int fd, int cmd,...);
参数介绍fd参数是被操作的文件描述符,cmd参数指定指向何种类型的操作。
...
Richard