C Programming/POSIX Reference/fcntl.h

From Wikibooks, open books for an open world
Jump to: navigation, search

fcntl.h is the header in the C POSIX library for the C programming language that contains constructs that refer to file control, e.g. opening a file, retrieving and changing the permissions of file, locking a file for edit, etc.

Member functions[edit]

int fcntl(int __fd, int __cmd, ...)

Member constants[edit]

int open(char* pathname, int flags, ...);
int creat(const char *,int);

Member types[edit]

Standardization[edit]