C Programming/POSIX Reference/fcntl.h

From Wikibooks, open books for an open world
Jump to navigation Jump to 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 | edit source]

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

Member constants[edit | edit source]

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

Member types[edit | edit source]

Standardization[edit | edit source]