JanetDocsPlaygroundI'm feeling luckyGitHub sign in

os/getenv



    cfunction
    src/core/os.c on line 1159, column 1

    (os/getenv variable &opt dflt)

    Get the string value of an environment variable.


1 exampleSign in to add an example
Loading...
(os/getenv "TERM")
# => "xterm-256color"
sogaiuPlayground