Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/tcl8.5.2/doc/GetHostName.3 @ 43

Last change on this file since 43 was 25, checked in by landauf, 16 years ago

added tcl to libs

File size: 719 bytes
Line 
1'\"
2'\" Copyright (c) 1998-2000 by Scriptics Corporation.
3'\" All rights reserved.
4'\"
5'\" RCS: @(#) $Id: GetHostName.3,v 1.4 2004/10/07 15:15:38 dkf Exp $
6'\"
7.so man.macros
8.TH Tcl_GetHostName 3 8.3 Tcl "Tcl Library Procedures"
9.BS
10.SH NAME
11Tcl_GetHostName \- get the name of the local host
12.SH SYNOPSIS
13.nf
14\fB#include <tcl.h>\fR
15.sp
16const char *
17\fBTcl_GetHostName\fR()
18.BE
19
20.SH DESCRIPTION
21.PP
22\fBTcl_GetHostName\fR is a utility procedure used by some of the
23Tcl commands.  It returns a pointer to a string containing the name
24for the current machine, or an empty string if the name cannot be
25determined.  The string is statically allocated, and the caller must
26not modify of free it.
27.PP
28.SH KEYWORDS
29hostname
Note: See TracBrowser for help on using the repository browser.