Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

tcl_putenv(3tcl) [opensolaris man page]

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 variable 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 interface properly to the Tcl runtime. KEYWORDS
environment, variable ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +--------------------+-----------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +--------------------+-----------------+ |Availability | SUNWTcl | +--------------------+-----------------+ |Interface Stability | Uncommitted | +--------------------+-----------------+ NOTES
Source for Tcl is available on http://opensolaris.org. Tcl 7.5 Tcl_PutEnv(3TCL)

Check Out this Related Man Page

Tcl_GetHostName(3TCL)					      Tcl Library Procedures					     Tcl_GetHostName(3TCL)

__________________________________________________________________________________________________________________________________________________

NAME
Tcl_GetHostName - get the name of the local host SYNOPSIS
#include <tcl.h> CONST char * Tcl_GetHostName() _________________________________________________________________ DESCRIPTION
Tcl_GetHostName is a utility procedure used by some of the Tcl commands. It returns a pointer to a string containing the name for the cur- rent machine, or an empty string if the name cannot be determined. The string is statically allocated, and the caller must not modify of free it. KEYWORDS
hostname ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +--------------------+-----------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +--------------------+-----------------+ |Availability | SUNWTcl | +--------------------+-----------------+ |Interface Stability | Uncommitted | +--------------------+-----------------+ NOTES
Source for Tcl is available on http://opensolaris.org. Tcl 8.3 Tcl_GetHostName(3TCL)
Man Page

3 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

run tcl (please help!)

:confused: Hi !! I'm in a new system, trying to run some old scripts tcl I have. Tcl is installed (see below), and the OS is linux (see below env). All my scripts tcl begin with: #!/bin/sh # the next line restarts using tclsh \ exec tclsh "$0" "$@" 1 But they don't want to run... ... (2 Replies)
Discussion started by: cordobapablo
2 Replies

2. UNIX for Advanced & Expert Users

Problem with TCL package

Following error encountered while executing characterizationEngine.tcl :confused::confused: $ ./characterizationEngine.tcl Tcl Client is running Ixia Software version: 5.60 Can't find tclx.tcl in the following directories: /usr/lib/tclX8.3 /usr/lib/tclX8.3 /usr/lib/tclX8.3... (0 Replies)
Discussion started by: hiten.r.chauhan
0 Replies

3. Shell Programming and Scripting

A better way to manipulate text

Good morning everyone, I'm currently trying to convert an environment variable into a string and then attach it at the end of a command and launch it. I have the following right now, but it's very ugly: AMI_TAGS="env=test,country=XX,city=blah,galaxy=blahblah" aws ec2 create-tags... (8 Replies)
Discussion started by: da1
8 Replies