core
System
exit
template
(λ [Int] a)
exits the program.
free
external
(λ [t] ())
Frees an object. Should not be called except in direst circumstances.
get-arg
external
(λ [Int] &String)
Gets the command line argument at a specified index.
get-args-len
external
(λ [] Int)
Gets the number of command line arguments.
nanotime
external
(λ [] Long)
Gets the current system time in nanoseconds as a long.
signal
external
(λ [Int, (λ [Int] ())] ())
sleep-seconds
external
(λ [Int] ())
Sleeps for a specified number of microseconds.
system
external
(λ [&String] ())
Performs a system command.
time
external
(λ [] Int)
Gets the current system time as an integer.
wait
external
(λ [(Ptr Int)] Int)