diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2004-09-18 17:01:02 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2004-09-18 17:01:02 (GMT) |
commit | 5e5bcd132f05719b0bd2dbd8449cc26b325ef811 (patch) | |
tree | d0721a6b5b5206782155cb04dd3b28fd41bd8564 /doc/GetOpnFl.3 | |
parent | 5c5d25ff6d6cf79ce06105cd339492f10e32aa82 (diff) | |
download | tcl-5e5bcd132f05719b0bd2dbd8449cc26b325ef811.zip tcl-5e5bcd132f05719b0bd2dbd8449cc26b325ef811.tar.gz tcl-5e5bcd132f05719b0bd2dbd8449cc26b325ef811.tar.bz2 |
More fixes from Mikhail Kolesnitchenko, and also standardize highlighting
of symbols like TCL_OK, TCL_ERROR, etc.
Diffstat (limited to 'doc/GetOpnFl.3')
-rw-r--r-- | doc/GetOpnFl.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/GetOpnFl.3 b/doc/GetOpnFl.3 index 1f3c839..6492870 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.5 2004/09/06 09:44:56 dkf Exp $ +'\" RCS: @(#) $Id: GetOpnFl.3,v 1.6 2004/09/18 17:01:06 dkf Exp $ .so man.macros .TH Tcl_GetOpenFile 3 8.0 Tcl "Tcl Library Procedures" .BS @@ -45,10 +45,10 @@ be used for reading or writing. In some cases, such as a channel that connects to a pipeline of subprocesses, different FILE pointers will be returned for reading and writing. -\fBTcl_GetOpenFile\fR normally returns TCL_OK. +\fBTcl_GetOpenFile\fR normally returns \fBTCL_OK\fR. If an error occurs in \fBTcl_GetOpenFile\fR (e.g. \fIstring\fR didn't make any sense or \fIcheckUsage\fR was set and the file wasn't opened -for the access specified by \fIwrite\fR) then TCL_ERROR is returned +for the access specified by \fIwrite\fR) then \fBTCL_ERROR\fR is returned and the interpreter's result will contain an error message. In the current implementation \fIcheckUsage\fR is ignored and consistency checks are always performed. |