where os:getenv defined?

Francesco Cesarini Francesco.Cesarini@REDACTED
Fri Jul 11 12:51:21 CEST 2003


Is os:getenv a BIF? Why isn't it defined and exported in the os module? 


(camelns@REDACTED)26> os:getenv("ROOTDIR").
"/export/home/otpuser/camelns"
(camelns@REDACTED)27> m(os).               
Module os compiled: Date: May 23 2002, Time: 10.43
Compiler options:  [v3,
                    debug_info,
                    {i,"/clearcase/otp/erts/lib/kernel/src/../include"},
                    {outdir,"/clearcase/otp/erts/lib/kernel/src/../ebin"},
                    {cwd,'/clearcase/otp/erts/lib/kernel/src'}]
Object file: /export/home/otpuser/camelns/lib/kernel-2.7.3/ebin/os.beam
Exports: 
         cmd/1
         find_executable/1
         find_executable/2
         module_info/0
         module_info/1
         type/0
         unix_cmd1/2
         version/0
ok

--
Francesco Cesarini, Erlang/OTP Consultant
Tel: +44 (0)7776 250 381
Web: http://www.erlang-consulting.com




 NOTICE AND DISCLAIMER:
This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.




More information about the erlang-questions mailing list