#[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: u64pidfd: u64child_tid: u64parent_tid: u64exit_signal: u64stack: u64stack_size: u64tls: u64set_tid: u64set_tid_size: u64cgroup: u64Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CloneArgs
impl Send for CloneArgs
impl Sync for CloneArgs
impl Unpin for CloneArgs
impl UnwindSafe for CloneArgs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more