tcl_gethostname(3tcl) opensolaris man page | unix.com

Man Page: tcl_gethostname

Operating Environment: opensolaris

Section: 3tcl

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)
Related Man Pages
tcl_init(3tcl) - opensolaris
tcl_createclosehandler(3tcl) - opensolaris
tcl_backslash(3tcl) - opensolaris
tcl_commandcomplete(3tcl) - opensolaris
tcl_putenv(3tcl) - opensolaris
Similar Topics in the Unix Linux Community
Tcl Dictionary 1.0 (Default branch)