fcntl.h

    FS

    Description:

    Declares structures and functions used for file and directory operations such as opening a file, creating a file, and allocating space.

    Since:

    1.0

    Version:

    1.0

    Function Name

    Description

    int 

    Creates a file or rewrites an existing file.

    (const char path, int oflags,…)

    int 

    Opens a file.

    fallocate (int fd, int mode, off_t offset, off_t len)

    int 

    Pre-allocates space to a file.

    (int fd, int cmd,…)

    int 

    Manipulates a specified file descriptor.