Provided by: tcl8.6-doc_8.6.14+dfsg-1build1_all
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 current 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