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

Function raw_arg

src/backend/linux_raw/reg.rs:222–227  ·  view source on GitHub ↗
(raw: *mut Opaque)

Source from the content-addressed store, hash-verified

220/// Encode a system call argument as an `ArgReg`.
221#[inline]
222pub(super) fn raw_arg<'a, Num: ArgNumber>(raw: *mut Opaque) -> ArgReg<'a, Num> {
223 ArgReg {
224 raw,
225 _phantom: PhantomData,
226 }
227}
228
229/// Encode a system call number (a `__NR_*` constant) as a `SyscallNumber`.
230#[inline]

Callers 10

zeroFunction · 0.85
pass_usizeFunction · 0.85
fromMethod · 0.85
slice_just_addrFunction · 0.85
slice_just_addr_mutFunction · 0.85
slice_mutFunction · 0.85
by_refFunction · 0.85
by_mutFunction · 0.85
opt_mutFunction · 0.85
opt_refFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected