| 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 | 
|---|
| 11 | Tcl_GetHostName \- get the name of the local host | 
|---|
| 12 | .SH SYNOPSIS | 
|---|
| 13 | .nf | 
|---|
| 14 | \fB#include <tcl.h>\fR | 
|---|
| 15 | .sp | 
|---|
| 16 | const 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 | 
|---|
| 23 | Tcl commands.  It returns a pointer to a string containing the name | 
|---|
| 24 | for the current machine, or an empty string if the name cannot be | 
|---|
| 25 | determined.  The string is statically allocated, and the caller must | 
|---|
| 26 | not modify of free it. | 
|---|
| 27 | .PP | 
|---|
| 28 | .SH KEYWORDS | 
|---|
| 29 | hostname | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.