MCPcopy Create free account
hub / github.com/bendudson/EuraliOS / get_args

Function get_args

euralios_std/src/lib.rs:51–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49static mut ENV_SLICE: &[u8] = b"";
50
51pub fn get_args() -> &'static [u8] {
52 // Note: Only reading from static mut once program starts
53 return unsafe{ ARGS_SLICE };
54}
55
56pub fn get_env() -> &'static [u8] {
57 return unsafe{ ENV_SLICE };

Callers 1

argsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected