summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2002-01-23 20:46:00 (GMT)
committerdgp <dgp@users.sourceforge.net>2002-01-23 20:46:00 (GMT)
commitfe36337ab48292e97cc3cae11a8efe99c1143bde (patch)
tree8b7ee1b7505a49478958828584bb52e02c1a3a8b /doc
parent0575def9cda1df361ad97091ee969acbcc827ce3 (diff)
downloadtcl-fe36337ab48292e97cc3cae11a8efe99c1143bde.zip
tcl-fe36337ab48292e97cc3cae11a8efe99c1143bde.tar.gz
tcl-fe36337ab48292e97cc3cae11a8efe99c1143bde.tar.bz2
* Updated socket interfaces according to TIP 27. Updated callers.
Diffstat (limited to 'doc')
-rw-r--r--doc/GetHostName.34
-rw-r--r--doc/GetOpnFl.34
-rw-r--r--doc/OpenTcp.36
3 files changed, 7 insertions, 7 deletions
diff --git a/doc/GetHostName.3 b/doc/GetHostName.3
index 6cb786f..e67349d 100644
--- a/doc/GetHostName.3
+++ b/doc/GetHostName.3
@@ -2,7 +2,7 @@
'\" 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 $
+'\" RCS: @(#) $Id: GetHostName.3,v 1.2 2002/01/23 20:46:01 dgp Exp $
'\"
.so man.macros
.TH Tcl_GetHostName 3 8.3 Tcl "Tcl Library Procedures"
@@ -13,7 +13,7 @@ Tcl_GetHostName \- get the name of the local host
.nf
\fB#include <tcl.h>\fR
.sp
-char *
+CONST char *
\fBTcl_GetHostName\fR()
.SH DESCRIPTION
diff --git a/doc/GetOpnFl.3 b/doc/GetOpnFl.3
index be13875..e4cbf67 100644
--- a/doc/GetOpnFl.3
+++ b/doc/GetOpnFl.3
@@ -4,7 +4,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: GetOpnFl.3,v 1.3 2000/04/14 23:01:51 hobbs Exp $
+'\" RCS: @(#) $Id: GetOpnFl.3,v 1.4 2002/01/23 20:46:01 dgp Exp $
.so man.macros
.TH Tcl_GetOpenFile 3 8.0 Tcl "Tcl Library Procedures"
.BS
@@ -21,7 +21,7 @@ int
.AS Tcl_Interp checkUsage
.AP Tcl_Interp *interp in
Tcl interpreter from which file handle is to be obtained.
-.AP char *string in
+.AP "CONST char" *string in
String identifying channel, such as \fBstdin\fR or \fBfile4\fR.
.AP int write in
Non-zero means the file will be used for writing, zero means it will
diff --git a/doc/OpenTcp.3 b/doc/OpenTcp.3
index 9b2b8d9..c2ca531 100644
--- a/doc/OpenTcp.3
+++ b/doc/OpenTcp.3
@@ -4,7 +4,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: OpenTcp.3,v 1.3 2000/04/14 23:01:52 hobbs Exp $
+'\" RCS: @(#) $Id: OpenTcp.3,v 1.4 2002/01/23 20:46:01 dgp Exp $
.so man.macros
.TH Tcl_OpenTcpClient 3 8.0 Tcl "Tcl Library Procedures"
.BS
@@ -31,12 +31,12 @@ Tcl interpreter to use for error reporting. If non-NULL and an
error occurs, an error message is left in the interpreter's result.
.AP int port in
A port number to connect to as a client or to listen on as a server.
-.AP char *host in
+.AP "CONST char" *host in
A string specifying a host name or address for the remote end of the connection.
.AP int myport in
A port number for the client's end of the socket. If 0, a port number
is allocated at random.
-.AP char *myaddr in
+.AP "CONST char" *myaddr in
A string specifying the host name or address for network interface to use
for the local end of the connection. If NULL, a default interface is
chosen.