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

Function gettid

src/thread/id.rs:59–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57#[inline]
58#[must_use]
59pub fn gettid() -> Pid {
60 backend::thread::syscalls::gettid()
61}
62
63/// `setuid(uid)`—Sets the effective user ID of the calling thread.
64///

Callers 1

Calls

no outgoing calls

Tested by 1