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

Function init

src/backend/linux_raw/param/init.rs:121–123  ·  view source on GitHub ↗

When "use-explicitly-provided-auxv" is enabled, we export a function to be called during initialization, and passed a pointer to the original environment variable block set up by the OS.

(envp: *mut *mut u8)

Source from the content-addressed store, hash-verified

119/// called during initialization, and passed a pointer to the original
120/// environment variable block set up by the OS.
121pub(crate) unsafe fn init(envp: *mut *mut u8) {
122 init_from_envp(envp);
123}
124
125/// # Safety
126///

Callers 6

_newMethod · 0.50
new_abstract_nameMethod · 0.50
new_unnamedMethod · 0.50
_newMethod · 0.50
new_abstract_nameMethod · 0.50
new_unnamedMethod · 0.50

Calls 1

init_from_envpFunction · 0.85

Tested by

no test coverage detected