Home
last modified time | relevance | path

Searched refs:c_int (Results 1 – 5 of 5) sorted by relevance

/DragonOS-0.1.8/kernel/src/process/
Dsyscall.rs1 use core::ffi::{c_int, c_void};
10 fn c_sys_wait4(pid: pid_t, wstatus: *mut c_int, options: c_int, rusage: *mut c_void) -> c_int; in c_sys_wait4() argument
38 wstatus: *mut c_int, in wait4() argument
39 options: c_int, in wait4() argument
/DragonOS-0.1.8/kernel/src/time/
Dsyscall.rs2 ffi::{c_int, c_longlong},
14 pub type PosixSusecondsT = c_int;
28 pub tz_minuteswest: c_int,
30 pub tz_dsttime: c_int,
/DragonOS-0.1.8/kernel/src/ipc/
Dsyscall.rs2 ffi::{c_int, c_void},
44 pub fn kill(pid: pid_t, sig: c_int) -> Result<usize, SystemError> { in kill()
84 sig: c_int, in sigaction() argument
Dsignal_types.rs64 sig: ::core::ffi::c_int,
/DragonOS-0.1.8/kernel/src/syscall/
Dmod.rs2 ffi::{c_char, c_int, c_void, CStr},
587 let wstatus = args[1] as *mut c_int; in handle()
588 let options = args[2] as c_int; in handle()
595 && (verify_area(virt_wstatus, core::mem::size_of::<c_int>() as usize).is_err() in handle()
653 let pipefd = args[0] as *mut c_int; in handle()
656 && verify_area(virt_pipefd, core::mem::size_of::<[c_int; 2]>() as usize) in handle()
698 let sig = args[1] as c_int; in handle()
704 let sig = args[0] as c_int; in handle()
720 let oldfd: i32 = args[0] as c_int; in handle()
724 let oldfd: i32 = args[0] as c_int; in handle()
[all …]