summaryrefslogtreecommitdiffstats
path: root/doc/OpenTcp.3
diff options
context:
space:
mode:
authorhobbs <hobbs>2000-04-14 23:01:45 (GMT)
committerhobbs <hobbs>2000-04-14 23:01:45 (GMT)
commit35fedc7c01e20753392a8d10576af39ef7fbe1cc (patch)
tree322db9cdfb9259a6dd4745e0a6e00e2223e5c44b /doc/OpenTcp.3
parent27d5fb6034d7e6188be7290f2e1e2636dc61353b (diff)
downloadtcl-35fedc7c01e20753392a8d10576af39ef7fbe1cc.zip
tcl-35fedc7c01e20753392a8d10576af39ef7fbe1cc.tar.gz
tcl-35fedc7c01e20753392a8d10576af39ef7fbe1cc.tar.bz2
* doc/AppInit.3:
* doc/Async.3: * doc/BackgdErr.3: * doc/CrtChannel.3: * doc/CrtInterp.3: * doc/CrtMathFnc.3: * doc/DString.3: * doc/Eval.3: * doc/ExprLong.3: * doc/GetInt.3: * doc/GetOpnFl.3: * doc/Interp.3: * doc/LinkVar.3: * doc/OpenFileChnl.3: * doc/OpenTcp.3: * doc/PkgRequire.3: * doc/RecordEval.3: * doc/SetResult.3: * doc/SplitList.3: * doc/StaticPkg.3: * doc/TraceVar.3: * doc/Translate.3: * doc/UpVar.3: * doc/load.n: removed or updated references to interp->result use.
Diffstat (limited to 'doc/OpenTcp.3')
-rw-r--r--doc/OpenTcp.310
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/OpenTcp.3 b/doc/OpenTcp.3
index 6f5da00..9b2b8d9 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.2 1998/09/14 18:39:49 stanton Exp $
+'\" RCS: @(#) $Id: OpenTcp.3,v 1.3 2000/04/14 23:01:52 hobbs Exp $
.so man.macros
.TH Tcl_OpenTcpClient 3 8.0 Tcl "Tcl Library Procedures"
.BS
@@ -28,7 +28,7 @@ Tcl_Channel
.AS Tcl_ChannelType newClientProcPtr in
.AP Tcl_Interp *interp in
Tcl interpreter to use for error reporting. If non-NULL and an
-error occurs, an error message is left in \fIinterp->result\fR.
+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
@@ -91,7 +91,7 @@ If an error occurs in opening the socket, \fBTcl_OpenTcpClient\fR returns
NULL and records a POSIX error code that can be retrieved
with \fBTcl_GetErrno\fR.
In addition, if \fIinterp\fR is non-NULL, an error message
-is left in \fIinterp->result\fR.
+is left in the interpreter's result.
.PP
The newly created channel is not registered in the supplied interpreter; to
register it, use \fBTcl_RegisterChannel\fR.
@@ -143,8 +143,8 @@ connection it can close \fIchannel\fR.
representing the server socket.
If an error occurs, \fBTcl_OpenTcpServer\fR returns NULL and
records a POSIX error code that can be retrieved with \fBTcl_GetErrno\fR.
-In addition, if \fIinterp->result\fR is non-NULL, an error message
-is left in \fIinterp->result\fR.
+In addition, if the interpreter is non-NULL, an error message
+is left in the interpreter's result.
.PP
The channel returned by \fBTcl_OpenTcpServer\fR cannot be used for
either input or output.