1Tcl_PutEnv(3)               Tcl Library Procedures               Tcl_PutEnv(3)
2
3
4
5______________________________________________________________________________
6

NAME

8       Tcl_PutEnv - procedures to manipulate the environment
9

SYNOPSIS

11       #include <tcl.h>
12
13       int
14       Tcl_PutEnv(assignment)
15

ARGUMENTS

17       const char *assignment (in)          Info about environment variable in
18                                            the  format   “NAME=value”.    The
19                                            assignment argument is in the sys‐
20                                            tem encoding.
21______________________________________________________________________________
22

DESCRIPTION

24       Tcl_PutEnv sets an environment variable. The information is passed in a
25       single  string of the form “NAME=value”.  This procedure is intended to
26       be a stand-in for the UNIX putenv system call. All  Tcl-based  applica‐
27       tions  using  putenv should redefine it to Tcl_PutEnv so that they will
28       interface properly to the Tcl runtime.
29

SEE ALSO

31       env(n)
32

KEYWORDS

34       environment, variable
35
36
37
38Tcl                                   7.5                        Tcl_PutEnv(3)
Impressum