projects
/
LeanCalc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
failed attempts to intercept copy command when the cursor is in the empty text field...
[LeanCalc.git]
/
help
/
getenv
1
NAME
2
getenv - get an environment variable
3
4
SYNOPSIS
5
getenv(env)
6
7
TYPES
8
env str
9
10
return str or nil
11
12
DESCRIPTION
13
This function returns the value of the environment variable named by
14
the string env. If no such environment variable exists, nil is returned.
15
16
EXAMPLE
17
> putenv("name", "value")
18
0
19
> getenv("name")
20
"value"
21
> putenv("name=val2")
22
0
23
> getenv("name")
24
"val2"
25
> isnull(getenv("unknown"))
26
1
27
28
LIMITS
29
none
30
31
LINK LIBRARY
32
none
33
34
SEE ALSO
35
putenv
36