ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

For more information about the manual page format, see the manual page for manpages(5).



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  deter-mined. determined.
       mined.  The string is statically allocated, and the caller must not modify of free it.


KEYWORDS
       hostname



Tcl                                                  8.3                                  Tcl_GetHostName(3)

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.