Module env
env
Process environment: command-line arguments, environment variables, and current working directory.
Mirrors the layout of Rust's std::env. Platform/architecture detection
and child-process spawning live in std/process.
Functions
raw_args
function
fn() -> [*(u8)]
Get raw command-line arguments as a slice of C strings. The first element is the program name.
Returns: [*(u8)]
argc
function
fn() -> i32
Get the number of command-line arguments (including program name).
Returns: i32
argv
function
fn() -> *(*(u8))
Get the raw argv pointer (*(*(u8))).
Returns: *(*(u8))
args
function
cwd
function
Constants
Environment variable access and manipulation.
Value: env(get: <fn get>, set: <fn set>)