summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2004-11-02 09:21:11 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2004-11-02 09:21:11 (GMT)
commit70638824c45321f58b781d0cd062c035a9656ee3 (patch)
tree6b0dd3b5dd88a9d569d28f9e6570386dfb29f082
parent22042ac17d28b7e80420612e880f6f4e3130db65 (diff)
downloadtcl-70638824c45321f58b781d0cd062c035a9656ee3.zip
tcl-70638824c45321f58b781d0cd062c035a9656ee3.tar.gz
tcl-70638824c45321f58b781d0cd062c035a9656ee3.tar.bz2
Add synopsis for Tcl_GetChannelMode. [Bug 1058446]
-rw-r--r--ChangeLog4
-rw-r--r--doc/CrtChannel.37
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 8b346e1..66a2f7f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2004-11-02 Donal K. Fellows <donal.k.fellows@man.ac.uk>
+
+ * doc/CrtChannel.3 (Tcl_GetChannelMode): Add synopsis. [Bug 1058446]
+
2004-10-31 Donal K. Fellows <donal.k.fellows@man.ac.uk>
* generic/tclCmdIL.c (InfoGlobalsCmd):
diff --git a/doc/CrtChannel.3 b/doc/CrtChannel.3
index 828b958..b2360ba 100644
--- a/doc/CrtChannel.3
+++ b/doc/CrtChannel.3
@@ -5,7 +5,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: CrtChannel.3,v 1.16.2.1 2004/07/15 20:46:17 andreas_kupries Exp $
+'\" RCS: @(#) $Id: CrtChannel.3,v 1.16.2.2 2004/11/02 09:21:25 dkf Exp $
.so man.macros
.TH Tcl_CreateChannel 3 8.3 Tcl "Tcl Library Procedures"
.BS
@@ -37,6 +37,9 @@ Tcl_ThreadId
.VE 8.4
.sp
int
+\fBTcl_GetChannelMode\fR(\fIchannel\fR)
+.sp
+int
\fBTcl_GetChannelBufferSize\fR(\fIchannel\fR)
.sp
\fBTcl_SetChannelBufferSize\fR(\fIchannel, size\fR)
@@ -232,8 +235,8 @@ the channel does not have a device handle for the specified direction,
then \fBTCL_ERROR\fR is returned instead. Different channel drivers
will return different types of handle. Refer to the manual entries
for each driver to determine what type of handle is returned.
-.VS 8.4
.PP
+.VS 8.4
\fBTcl_GetChannelThread\fR returns the id of the thread currently managing
the specified \fIchannel\fR. This allows channel drivers to send their file
events to the correct event queue even for a multi-threaded core.