1Tcl_GetHostName(3) Tcl Library Procedures Tcl_GetHostName(3)
2
3
4
5______________________________________________________________________________
6
8 Tcl_GetHostName - get the name of the local host
9
11 #include <tcl.h>
12
13 const char *
14 Tcl_GetHostName()
15______________________________________________________________________________
16
17
19 Tcl_GetHostName is a utility procedure used by some of the Tcl com‐
20 mands. It returns a pointer to a string containing the name for the
21 current machine, or an empty string if the name cannot be determined.
22 The string is statically allocated, and the caller must not modify of
23 free it.
24
26 hostname
27
28
29
30Tcl 8.3 Tcl_GetHostName(3)