#[repr(C)]pub struct SpawnArgs {
pub argc: u64,
pub argv: *const *const i8,
pub process_id: *mut u64,
pub inherited_fds: *const u64,
}
Fields§
§argc: u64
argc contains the number of arguments passed to the program.
argv: *const *const i8
argv is a one-dimensional array of strings.
process_id: *mut u64
a pointer used to save the process_id of the child process.
inherited_fds: *const u64
an array representing the file descriptors passed to the child process. It must end with zero.
Auto Trait Implementations§
impl Freeze for SpawnArgs
impl RefUnwindSafe for SpawnArgs
impl !Send for SpawnArgs
impl !Sync for SpawnArgs
impl Unpin for SpawnArgs
impl UnwindSafe for SpawnArgs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more