racket/collects/scribblings/reference/os.scrbl
Matthew Flatt 3d1b0bd381 new environment-variable API
The `current-environment-variables' parameter determines the current
mutable "environment variable set". If that set is the initial one for
a Racket process, then using the set corresponds to working with OS
environment variables.  Otherwise, it's really just a hash table that
is packaged up as OS environment variables if a subprocess is created.

The new environment-variable interface works in terms of bytes, instead
of assuming that environment variable names and values fit in a string
encoding.

The string-based `getenv' and `putenv' are still available as
convenience wrappers. The checking on environment-variable names
for those wrappers is a little tighter, preventing any attempt to use a
name that contains "=".
2013-04-10 06:59:33 -06:00

17 lines
429 B
Racket

#lang scribble/doc
@(require "mz.rkt")
@title[#:tag "os" #:style 'toc]{Operating System}
@local-table-of-contents[]
@include-section["paths.scrbl"]
@include-section["filesystem.scrbl"]
@include-section["networking.scrbl"]
@include-section["subprocess.scrbl"]
@include-section["logging.scrbl"]
@include-section["time.scrbl"]
@include-section["envvars.scrbl"]
@include-section["runtime.scrbl"]
@include-section["cmdline.scrbl"]