Tcl_PutEnv(3TCL) Tcl Library Procedures Tcl_PutEnv(3TCL) ______________________________________________________________________________ NAME Tcl_PutEnv - procedures to manipulate the environment SYNOPSIS #include <tcl.h> int Tcl_PutEnv(string) ARGUMENTS CONST char *string (in) Info about environment vari‐ able in the form NAME=value. The string argument is in the system encoding. _________________________________________________________________ DESCRIPTION Tcl_PutEnv sets an environment variable. The information is passed in a single string of the form NAME=value. This procedure is intended to be a stand-in for the UNIX putenv system call. All tcl-based applications using putenv should redefine it to Tcl_PutEnv so that they will inter‐ face properly to the Tcl runtime. KEYWORDS environment, variable ATTRIBUTES See attributes(5) for descriptions of the following attributes: ┌────────────────────┬─────────────────┐ │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │ ├────────────────────┼─────────────────┤ │Availability │ runtime/tcl-8 │ ├────────────────────┼─────────────────┤ │Interface Stability │ Uncommitted │ └────────────────────┴─────────────────┘ NOTES Source for Tcl is available on http://opensolaris.org. Tcl 7.5 Tcl_PutEnv(3TCL)[top]
Vote for polarhome |