|
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. This manual page is associated with the Mac OS X developer tools. The software or headers described may not be present on your Mac OS X installation until you install the developer tools package. This package is available on your Mac OS X installation DVD, and the latest versions can be downloaded from developer.apple.com. 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)
|
|