[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] getenv
From: |
David N Murray |
Subject: |
[Chicken-users] getenv |
Date: |
Fri, 11 Mar 2011 16:33:08 -0500 (EST) |
Hi all,
I'm not sure fixing the docs is the correct thing here, but I'll be happy
to do it.
http://wiki.call-cc.org/man/4/Unit%20library#get-environment-variable
[procedure] (get-environment-variable STRING)
[procedure] (getenv STRING)
Returns the value of the environment variable STRING or #f if that
variable is not defined. See also SRFI-98. getenv is an alias for
get-environment-variable.
sauron:~ dnm$ csi -n
CHICKEN
(c)2008-2011 The Chicken Team
(c)2000-2007 Felix L. Winkelmann
Version 4.6.5
macosx-unix-gnu-x86-64 [ 64bit manyargs dload ptables ]
compiled 2011-03-11 on sauron.local (Darwin)
#;1> (import scheme)
; loading /usr/local/lib/chicken/6/scheme.import.so ...
#;2> (get-environment-variable "HOME")
"/Users/dnm"
#;3> (getenv "HOME")
Error: unbound variable: getenv
Call history:
<syntax> (getenv "HOME")
<eval> (getenv "HOME") <--
#;3>
TIA,
Dave
- [Chicken-users] getenv,
David N Murray <=