Vendor things
This commit is contained in:
parent
5deceec006
commit
977e3c17e5
19434 changed files with 10682014 additions and 0 deletions
14
third-party/vendor/rustix/src/backend/libc/prctl/syscalls.rs
vendored
Normal file
14
third-party/vendor/rustix/src/backend/libc/prctl/syscalls.rs
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
use crate::backend::c;
|
||||
use crate::backend::conv::ret_c_int;
|
||||
use crate::io;
|
||||
|
||||
#[inline]
|
||||
pub(crate) unsafe fn prctl(
|
||||
option: c::c_int,
|
||||
arg2: *mut c::c_void,
|
||||
arg3: *mut c::c_void,
|
||||
arg4: *mut c::c_void,
|
||||
arg5: *mut c::c_void,
|
||||
) -> io::Result<c::c_int> {
|
||||
ret_c_int(c::prctl(option, arg2, arg3, arg4, arg5))
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue