Os
os — API Reference
Section titled “os — API Reference”Import:
std/os.axs
Public Functions (6)
Section titled “Public Functions (6)”| Function | Signature | Return Type |
|---|---|---|
quit | (code: i32) | void |
crash | () | void |
env | (name: (ptr i8)) | (ptr i8) |
exec | (cmd: (ptr i8)) | i32 |
sleep_secs | (seconds: u32) | u32 |
pid | () | i32 |
Signatures
Section titled “Signatures”quit(code: i32) → voidcrash() → voidenv(name: (ptr i8)) → (ptr i8)exec(cmd: (ptr i8)) → i32sleep_secs(seconds: u32) → u32pid() → i32FFI Extern Declarations (6)
Section titled “FFI Extern Declarations (6)”These are private C/system function bindings used internally by the module.
| Symbol | Parameters | Return Type |
|---|---|---|
exit | i32 | void |
abort | (none) | void |
getenv | (ptr i8) | (ptr i8) |
system | (ptr i8) | i32 |
sleep | u32 | u32 |
getpid | (none) | i32 |
Auto-generated from std/os.axs by scripts/gen_docs.sh