Struct libc::flock [] [src]

pub struct flock {
    pub l_type: c_short,
    pub l_whence: c_short,
    pub l_start: off_t,
    pub l_len: off_t,
    pub l_pid: pid_t,
}

Fields

l_type: c_short l_whence: c_short l_start: off_t l_len: off_t l_pid: pid_t

Trait Implementations

impl Copy for flock
[src]

impl Clone for flock
[src]

fn clone(&self) -> flock

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more