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

Function ret_usize

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

Source from the content-addressed store, hash-verified

941/// `usize` on success.
942#[inline]
943pub(super) fn ret_usize(raw: RetReg<R0>) -> io::Result<usize> {
944 try_decode_usize(raw)
945}
946
947/// Convert a `usize` returned from a syscall that effectively always
948/// returns a `usize`.

Callers 15

spliceFunction · 0.50
vmspliceFunction · 0.50
teeFunction · 0.50
fcntl_getpipe_sizeFunction · 0.50
fcntl_setpipe_sizeFunction · 0.50
readFunction · 0.50
preadFunction · 0.50
readvFunction · 0.50
preadvFunction · 0.50
preadv2Function · 0.50
writeFunction · 0.50
pwriteFunction · 0.50

Calls 1

try_decode_usizeFunction · 0.85

Tested by

no test coverage detected