Tcl_PutEnv(3tcl) Tcl Library Procedures Tcl_PutEnv(3tcl)
______________________________________________________________________________
NAME
Tcl_PutEnv - procedures to manipulate the environment
SYNOPSIS
#include <tcl.h>
int
Tcl_PutEnv(assignment)
ARGUMENTS
const char *assignment (in) Info about environment variable in
the format “NAME=value”. The as-
signment 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 applica-
tions using putenv should redefine it to Tcl_PutEnv so that they will
interface properly to the Tcl runtime.
SEE ALSO
env(3tcl)
KEYWORDS
environment, variable
Tcl 7.5 Tcl_PutEnv(3tcl)
Generated by dwww version 1.14 on Sat Jun 13 11:24:55 CEST 2026.