Query: tcl_gethostname
OS: centos
Section: 3
Links: centos man pages all man pages
Forums: forum home forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Tcl_GetHostName(3) Tcl Library Procedures Tcl_GetHostName(3) __________________________________________________________________________________________________________________________________________________NAMETcl_GetHostName - get the name of the local hostSYNOPSIS#include <tcl.h> const char * Tcl_GetHostName() _________________________________________________________________DESCRIPTIONTcl_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.KEYWORDShostname Tcl 8.3 Tcl_GetHostName(3)