The file path.
Change permissions of the file. See fchmod(2)
The file mode consisting of permission, suid, sgid, and sticky bits.
Closes the file.
See fdatasync(2)
Reads data into the given buffer at the given file offset. Returns the amount of read data or null for EOF.
Buffer to read data into.
Optional
Offset in the file to read from.
Get the file status information. See stat(2)
See fsync(2)
Truncates the file to the given length.
Length to truncate the file to.
Writes data from the given buffer at the given file offset. Returns the amount of data written.
Buffer to write.
Offset in the file to write to.
The file path.