Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

Tcl_GetHostName - get the name of the local host

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

Tcl                                                    8.3                                 Tcl_GetHostName(3tcl)

Name

       Tcl_GetHostName - get the name of the local host

Synopsis

#include<tcl.h>

       const char *
       Tcl_GetHostName()
________________________________________________________________________________________________________________

See Also