Tcl_PutEnv(3) Tcl Library Procedures Tcl_PutEnv(3)______________________________________________________________________________NAMETcl_PutEnv - procedures to manipulate the environment
SYNOPSIS
#include <tcl.h>
int
Tcl_PutEnv(assignment)ARGUMENTS
const char *assignnment (in) Info about environment variable in
the format NAME=value. The
assignment argument is in the sys‐
tem encoding.
_________________________________________________________________DESCRIPTIONTcl_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
Tcl 7.5 Tcl_PutEnv(3)