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(string)
15
17 CONST char *string (in) Info about environment vari‐
18 able in the form NAME=value.
19 The string argument is in the
20 system 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)