Debian Codegraph @

doc/GetHostName.3

raw
1 '\"
2 '\" Copyright (c) 1998-2000 Scriptics Corporation.
3 '\" All rights reserved.
4 '\"
5 .TH Tcl_GetHostName 3 8.3 Tcl "Tcl Library Procedures"
6 .so man.macros
7 .BS
8 .SH NAME
9 Tcl_GetHostName \- get the name of the local host
10 .SH SYNOPSIS
11 .nf
12 \fB#include <tcl.h>\fR
13 .sp
14 const char *
15 \fBTcl_GetHostName\fR()
16 .BE
17
18 .SH DESCRIPTION
19 .PP
20 \fBTcl_GetHostName\fR is a utility procedure used by some of the
21 Tcl commands. It returns a pointer to a string containing the name
22 for the current machine, or an empty string if the name cannot be
23 determined. The string is statically allocated, and the caller must
24 not modify of free it.
25 .PP
26 .SH KEYWORDS
27 hostname