1Tcl_PutEnv(3) Tcl Library Procedures Tcl_PutEnv(3)
2
3
4
5______________________________________________________________________________
6
8 Tcl_PutEnv - procedures to manipulate the environment
9
11 #include <tcl.h>
12
13 int
14 Tcl_PutEnv(assignment)
15
17 const char *assignnment (in) Info about environment variable in
18 the format NAME=value. The
19 assignment argument is in the sys‐
20 tem encoding.
21_________________________________________________________________
22
23
25 Tcl_PutEnv sets an environment variable. The information is passed in a
26 single string of the form NAME=value. This procedure is intended to be
27 a stand-in for the UNIX putenv system call. All Tcl-based applications
28 using putenv should redefine it to Tcl_PutEnv so that they will inter‐
29 face properly to the Tcl runtime.
30
31
33 environment, variable
34
35
36
37Tcl 7.5 Tcl_PutEnv(3)