MCPcopy Create free account
hub / github.com/bytecodealliance/rustix / ret_c_int

Function ret_c_int

src/backend/linux_raw/conv.rs:921–923  ·  view source on GitHub ↗
(raw: RetReg<R0>)

Source from the content-addressed store, hash-verified

919/// `c_int` on success.
920#[inline]
921pub(super) fn ret_c_int(raw: RetReg<R0>) -> io::Result<c::c_int> {
922 try_decode_c_int(raw)
923}
924
925/// Convert a `usize` returned from a syscall that effectively returns a
926/// `c_uint` on success.

Callers 15

prctlFunction · 0.50
ioctlFunction · 0.50
ioctl_readonlyFunction · 0.50
kernel_forkFunction · 0.50
kernel_sigwaitFunction · 0.50
kernel_sigwaitinfoFunction · 0.50
kernel_sigtimedwaitFunction · 0.50
setnsFunction · 0.50
getpgidFunction · 0.50
getpriority_userFunction · 0.50
getpriority_pgrpFunction · 0.50
getpriority_processFunction · 0.50

Calls 1

try_decode_c_intFunction · 0.85

Tested by

no test coverage detected