Tcl Source Code

Check-in [606dc91401]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:"Mine eyes deceive, but others catch me when I fall." -- Someone or other
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 606dc91401489cd6bf2030cda3303feab67f90c9
User & Date: dkf 2013-01-03 14:35:07
Context
2013-01-10
17:22
Merge trunk through conflict-free, failure-free checkins. check-in: 4c9fad4837 user: dgp tags: dgp-refactor
2013-01-04
05:26
Insure that PURIFY builds cannot exploit the Tcl stack to hide mem defects. check-in: bd7d7a2061 user: mig tags: trunk
02:05
merge trunk check-in: effc9f8ca4 user: mig tags: mig-alloc-reform
2013-01-03
14:35
"Mine eyes deceive, but others catch me when I fall." -- Someone or other check-in: 606dc91401 user: dkf tags: trunk
14:24
Channel buffer min size is 1. Issue found by Schelte Bron. check-in: 8c118480fd user: dkf tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to doc/CrtChannel.3.

247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
allocated to store input or output in \fIchannel\fR. If the value was not set
by a previous call to \fBTcl_SetChannelBufferSize\fR, described below, then
the default value of 4096 is returned.
.PP
\fBTcl_SetChannelBufferSize\fR sets the size, in bytes, of buffers that
will be allocated in subsequent operations on the channel to store input or
output. The \fIsize\fR argument should be between one and one million,
allowing buffers of ten bytes to one million bytes. If \fIsize\fR is
outside this range, \fBTcl_SetChannelBufferSize\fR sets the buffer size to
4096.
.PP
\fBTcl_NotifyChannel\fR is called by a channel driver to indicate to
the generic layer that the events specified by \fImask\fR have
occurred on the channel.  Channel drivers are responsible for invoking
this function whenever the channel handlers need to be called for the







|







247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
allocated to store input or output in \fIchannel\fR. If the value was not set
by a previous call to \fBTcl_SetChannelBufferSize\fR, described below, then
the default value of 4096 is returned.
.PP
\fBTcl_SetChannelBufferSize\fR sets the size, in bytes, of buffers that
will be allocated in subsequent operations on the channel to store input or
output. The \fIsize\fR argument should be between one and one million,
allowing buffers of one byte to one million bytes. If \fIsize\fR is
outside this range, \fBTcl_SetChannelBufferSize\fR sets the buffer size to
4096.
.PP
\fBTcl_NotifyChannel\fR is called by a channel driver to indicate to
the generic layer that the events specified by \fImask\fR have
occurred on the channel.  Channel drivers are responsible for invoking
this function whenever the channel handlers need to be called for the