[−][src]Function linux::syscall::fsync
pub fn fsync(fd: c_int) -> c_int
Transfers the kernel state of a file descriptor to the disk.
[argument, fd] The file descriptor to be synchronized.
[return_value] Returns success or an error value.
= See also
- link:man:fsync(2)