Struct clone3::CloneArgs

source ·
#[repr(C, align(8))]
pub struct CloneArgs { pub flags: u64, pub pidfd: u64, pub child_tid: u64, pub parent_tid: u64, pub exit_signal: u64, pub stack: u64, pub stack_size: u64, pub tls: u64, pub set_tid: u64, pub set_tid_size: u64, pub cgroup: u64, }
Expand description

Arguments to the clone3 system call as defined in /usr/include/linux/sched.h.

Fields§

§flags: u64§pidfd: u64§child_tid: u64§parent_tid: u64§exit_signal: u64§stack: u64§stack_size: u64§tls: u64§set_tid: u64§set_tid_size: u64§cgroup: u64

Trait Implementations§

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.