DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

Tcl_GetHostName(3tcl)




Tcl_GetHostName(3)   Tcl Library Procedures    Tcl_GetHostName(3)

_________________________________________________________________


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 allo-
     cated, and the caller must not modify of free it.


KEYWORDS

     hostname

Tcl                     Last change: 8.3                        1


Man(1) output converted with man2html