Copyright (c) 1997-1998 Sun Microsystems, Inc.

See the file "license.terms" for information on usage and redistribution
of this file, and for a DISCLAIMER OF ALL WARRANTIES.

RCS: @(#) $Id: Environment.3,v 1.1.18.1 2005/05/03 17:53:41 dgp Exp $

.so man.macros
Tcl_PutEnv 3 "7.5" Tcl "Tcl Library Procedures"
S
NAME
Tcl_PutEnv - procedures to manipulate the environment
SYNOPSIS
#include <tcl.h>
int
Tcl_PutEnv(string)
ARGUMENTS
.AP "CONST char" *string in Info about environment variable in the form NAME=value. The string argument is in the system encoding. E
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 interface properly to the Tcl runtime.

KEYWORDS
environment, variable