Transfers most of the kernel state of a file descriptor to the disk.
fn fdatasync(fd: i32) -> i32
The file descriptor to be synchronized.
Returns success or an error value.
fdatasync(2)