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

Function setpriority_user

src/backend/libc/process/syscalls.rs:221–223  ·  view source on GitHub ↗
(uid: Uid, priority: i32)

Source from the content-addressed store, hash-verified

219)))]
220#[inline]
221pub(crate) fn setpriority_user(uid: Uid, priority: i32) -> io::Result<()> {
222 unsafe { ret(c::setpriority(c::PRIO_USER, uid.as_raw() as _, priority)) }
223}
224
225#[cfg(not(any(
226 target_os = "espidf",

Callers

nothing calls this directly

Calls 2

retFunction · 0.50
as_rawMethod · 0.45

Tested by

no test coverage detected