Function lrs::syscall::timerfd_gettime

Retrieves the current settings of a timerfd.

Syntax

fn timerfd_gettime(fd: i32, cur: &mut itimerspec) -> i32

Arguments

NameDescription
fd

The timerfd.

cur

A place where the settings of the timerfd will be stored.

Return value

Returns success or an error value.

See also