Docs.rs
rustix-0.38.39
rustix 0.38.39
Docs.rs crate page
Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
Links
Repository
crates.io
Source
Owners
sunfishcode
Dependencies
bitflags ^2.4.0
normal
compiler_builtins ^0.1.49
normal
optional
rustc-std-workspace-core ^1.0.0
normal
optional
itoa ^1.0.1
normal
optional
rustc-std-workspace-alloc ^1.0.0
normal
optional
flate2 ^1.0
dev
libc ^0.2.161
dev
errno ^0.3.8
dev
memoffset ^0.9.0
dev
serial_test ^2.0.0
dev
static_assertions ^1.1.0
dev
tempfile ^3.5.0
dev
linux-raw-sys ^0.4.14
normal
criterion ^0.4
dev
libc ^0.2.161
normal
optional
errno ^0.3.8
normal
optional
linux-raw-sys ^0.4.14
normal
libc ^0.2.161
normal
errno ^0.3.8
normal
once_cell ^1.5.2
normal
optional
errno ^0.3.8
normal
windows-sys ^0.52.0
normal
Versions
100%
of the crate is documented
Platform
i686-unknown-linux-gnu
wasm32-unknown-emscripten
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-illumos
x86_64-unknown-linux-gnu
x86_64-unknown-netbsd
x86_64-unknown-redox
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
rustix
0.38.39
getuid
Sections
References
In rustix::
process
rustix
::
process
Function
getuid
Copy item path
Source
pub fn getuid() ->
Uid
Available on
crate feature
process
only.
Expand description
getuid()
—Returns the process’ real user ID.
§
References
POSIX
Linux