Function lrs::syscall::fcntl_setfl

Sets the file status flags of a file descriptor.

Syntax

fn fcntl_setfl(fd: i32, arg: i32) -> i32

Arguments

NameDescription
fd

The file descriptor to modify.

arg

The new file status flags.

Return value

Returns success or an error value.

See also