fcntl.h 是 C POSIX 庫中用於 C 程式語言的標題,其中包含引用檔案控制的構造,例如開啟檔案、檢索和更改檔案許可權、鎖定檔案以進行編輯等。
int fcntl(int __fd, int __cmd, ...)
int open(char* pathname, int flags, ...);int creat(const char *,int);