summaryrefslogtreecommitdiffstats
path: root/doc/GetHostName.3
diff options
context:
space:
mode:
authorericm <ericm@noemail.net>2000-01-21 18:52:07 (GMT)
committerericm <ericm@noemail.net>2000-01-21 18:52:07 (GMT)
commit5ca3292a71f382f5aac1f2d51059fbebd1d616f8 (patch)
tree22ffb9f2169a7f60019987e5acfb8d0245475709 /doc/GetHostName.3
parenta8ae941709eda125e1669eea454cd4e85f4c9289 (diff)
downloadtcl-5ca3292a71f382f5aac1f2d51059fbebd1d616f8.zip
tcl-5ca3292a71f382f5aac1f2d51059fbebd1d616f8.tar.gz
tcl-5ca3292a71f382f5aac1f2d51059fbebd1d616f8.tar.bz2
* unix/mkLinks:
* doc/GetHostName.3: Man page for Tcl_GetHostName (bug #1817). FossilOrigin-Name: 516c1ca14215f6777c31049b293172c10836a342
Diffstat (limited to 'doc/GetHostName.3')
-rw-r--r--doc/GetHostName.328
1 files changed, 28 insertions, 0 deletions
diff --git a/doc/GetHostName.3 b/doc/GetHostName.3
new file mode 100644
index 0000000..6cb786f
--- /dev/null
+++ b/doc/GetHostName.3
@@ -0,0 +1,28 @@
+'\"
+'\" Copyright (c) 1998-2000 by Scriptics Corporation.
+'\" All rights reserved.
+'\"
+'\" RCS: @(#) $Id: GetHostName.3,v 1.1 2000/01/21 18:52:07 ericm Exp $
+'\"
+.so man.macros
+.TH Tcl_GetHostName 3 8.3 Tcl "Tcl Library Procedures"
+.BS
+.SH NAME
+Tcl_GetHostName \- get the name of the local host
+.SH SYNOPSIS
+.nf
+\fB#include <tcl.h>\fR
+.sp
+char *
+\fBTcl_GetHostName\fR()
+
+.SH DESCRIPTION
+.PP
+\fBTcl_GetHostName\fR 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.
+.PP
+.SH KEYWORDS
+hostname