Tcl Library Procedures Tcl_GetHostName(3TCL)
_________________________________________________________________
NAME
Tcl_GetHostName - get the name of the local host
SYNOPSIS
#include
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 current machine, or an empty string if thename cannot be determined. The string is statically allo-
cated, and the caller must not modify of free it. KEYWORDS hostnameATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:_______________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE|
|____________________|__________________|_
| Availability | runtime/tcl-8 |
|____________________|__________________|_
| Interface Stability| Uncommitted ||____________________|_________________|
NOTES Source for Tcl is available on http://opensolaris.org. Tcl Last change: 8.3 1