Method lrs::event::Eventfd::new_init

Creates a new eventfd with an initial value.

Syntax

impl Eventfd {
    fn new_init(val: u32, flags: EventfdFlags) -> Result<Eventfd, Errno>
}

Arguments

NameDescription
val

The initial value to store in the eventfd.

flags

Flags to use when creating the eventfd.

See also