summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2015-02-20 19:30:48 (GMT)
committerdgp@users.sourceforge.net <dgp>2015-02-20 19:30:48 (GMT)
commit3458918fec1449e9163e8aae49742eb22f314393 (patch)
tree58c0f4ff182c9f64e1183eb5652eff2c78678639
parent776efa059468f775f86908d2fff822d4d912bcef (diff)
parentfe3d273a3dd3ade1c76b9c598551e49614ffcce8 (diff)
downloadtcl-3458918fec1449e9163e8aae49742eb22f314393.zip
tcl-3458918fec1449e9163e8aae49742eb22f314393.tar.gz
tcl-3458918fec1449e9163e8aae49742eb22f314393.tar.bz2
[e08c2c407b] The getHandleProc routine in the Tcl_Channel struct is optional. Update the docs to make that clear.
-rw-r--r--doc/CrtChannel.32
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/CrtChannel.3 b/doc/CrtChannel.3
index 1c5c665..2335de1 100644
--- a/doc/CrtChannel.3
+++ b/doc/CrtChannel.3
@@ -336,7 +336,7 @@ typedef struct Tcl_ChannelType {
It is not necessary to provide implementations for all channel
operations. Those which are not necessary may be set to NULL in the
struct: \fIblockModeProc\fR, \fIseekProc\fR, \fIsetOptionProc\fR,
-\fIgetOptionProc\fR, and \fIclose2Proc\fR, in addition to
+\fIgetOptionProc\fR, \fIgetHandleProc\fR, and \fIclose2Proc\fR, in addition to
\fIflushProc\fR, \fIhandlerProc\fR, \fIthreadActionProc\fR, and
\fItruncateProc\fR. Other functions that cannot be implemented in a
meaningful way should return \fBEINVAL\fR when called, to indicate