Import with #import "std/environment_linux".

EnvironmentText :: (name: string) -> string

The value of `name`, or "" when it is unset. The view borrows the environment and lasts until the variable changes.

EnvironmentNumber :: (name: string, fallback: s64) -> s64

The whole number that starts `name`'s value, or `fallback` when it is unset or does not start with one.

Source ↗ · All modules