mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-20 06:09:17 +02:00
Flesh-out the docs
This commit is contained in:
parent
6bd21b422c
commit
c71686ef77
1 changed files with 30 additions and 6 deletions
|
@ -1,9 +1,33 @@
|
||||||
# Process-Context Library
|
# Process-Context Library
|
||||||
|
|
||||||
The `(scheme process-context)` library exports procedures
|
The `(scheme process-context)` library exports procedures for accessing with the program's calling context.
|
||||||
for accessing with the program's calling context.
|
|
||||||
|
- [`command-line`](#command-line)
|
||||||
|
- [`emergency-exit`](#emergency-exit)
|
||||||
|
- [`get-environment-variable`](#get-environment-variable)
|
||||||
|
- [`get-environment-variables`](#get-environment-variables)
|
||||||
|
|
||||||
|
#command-line
|
||||||
|
|
||||||
|
(command-line)
|
||||||
|
|
||||||
|
Returns the command line passed to the program as a list of strings.
|
||||||
|
|
||||||
|
#emergency-exit
|
||||||
|
|
||||||
|
(emergency-exit)
|
||||||
|
|
||||||
|
Terminates the program immediately. This is an alias of `exit`.
|
||||||
|
|
||||||
|
#get-environment-variable
|
||||||
|
|
||||||
|
(get-environment-variable name)
|
||||||
|
|
||||||
|
Return the value of the given environment variable.
|
||||||
|
|
||||||
|
#get-environment-variables
|
||||||
|
|
||||||
|
(get-environment-variables)
|
||||||
|
|
||||||
|
Return a list of all the environment variables and their values.
|
||||||
|
|
||||||
- `command-line`
|
|
||||||
- `emergency-exit`
|
|
||||||
- `exit`
|
|
||||||
- `get-environment-variable`
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue