Home › Tcl Library Procedures Tcl
Tcl_GetHostName C API
Get the name of the local host
literal type exactly as shown
argument replace with your value
?optional? may be omitted
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#
Copyright#
- Copyright © 1998-2000 Scriptics Corporation