Function lrs::syscall::fcntl_getfd

Retrieves the file descriptor flags of a file descriptor.

Syntax

fn fcntl_getfd(fd: i32) -> i32

Arguments

NameDescription
fd

The file descriptor to inspect.

Return value

Returns the file descriptor flags or an error value.

See also