Function lrs::syscall::fdatasync

Transfers most of the kernel state of a file descriptor to the disk.

Syntax

fn fdatasync(fd: i32) -> i32

Arguments

NameDescription
fd

The file descriptor to be synchronized.

Return value

Returns success or an error value.

See also