ckb_std/syscalls/internal.rs
1#[repr(C)]
2pub struct SpawnArgs {
3 /// argc contains the number of arguments passed to the program.
4 pub argc: u64,
5 /// argv is a one-dimensional array of strings.
6 pub argv: *const *const i8,
7 /// a pointer used to save the process_id of the child process.
8 pub process_id: *mut u64,
9 /// an array representing the file descriptors passed to the child process. It must end with zero.
10 pub inherited_fds: *const u64,
11}