Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/tcl8.5.2/doc/Environment.3 @ 37

Last change on this file since 37 was 25, checked in by landauf, 16 years ago

added tcl to libs

File size: 1.1 KB
RevLine 
[25]1'\"
2'\" Copyright (c) 1997-1998 Sun Microsystems, Inc.
3'\"
4'\" See the file "license.terms" for information on usage and redistribution
5'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
6'\"
7'\" RCS: @(#) $Id: Environment.3,v 1.6 2005/05/10 18:33:55 kennykb Exp $
8'\"
9.so man.macros
10.TH Tcl_PutEnv 3 "7.5" Tcl "Tcl Library Procedures"
11.BS
12.SH NAME
13Tcl_PutEnv \- procedures to manipulate the environment
14.SH SYNOPSIS
15.nf
16\fB#include <tcl.h>\fR
17.sp
18int
19\fBTcl_PutEnv\fR(\fIassignment\fR)
20.SH ARGUMENTS
21.AS "const char" *assignment
22.AP "const char" *assignnment in
23Info about environment variable in the format NAME=value.
24The \fIassignment\fR argument is in the system encoding.
25.BE
26
27.SH DESCRIPTION
28.PP
29\fBTcl_PutEnv\fR sets an environment variable. The information is
30passed in a single string of the form NAME=value.  This procedure is
31intended to be a stand-in for the UNIX \fBputenv\fR system call. All
32Tcl-based applications using \fBputenv\fR should redefine it to
33\fBTcl_PutEnv\fR so that they will interface properly to the Tcl
34runtime.
35
36.SH KEYWORDS
37environment, variable
Note: See TracBrowser for help on using the repository browser.