1tcl::chan::nullzero(n) Reflected/virtual channel supporttcl::chan::nullzero(n)
2
3
4
5______________________________________________________________________________
6
8 tcl::chan::nullzero - Null/Zero channel combination
9
11 package require Tcl 8.5
12
13 package require TclOO
14
15 package require tcl::chan::events ?1?
16
17 package require tcl::chan::nullzero ?1?
18
19 ::tcl::chan::nullzero
20
21______________________________________________________________________________
22
24 The tcl::chan::nullzero package provides a command creating channels,
25 which are a combination of null and zero devices. They immediately for‐
26 get whatever is written to them, and on reading return an infinite
27 stream of null characters.
28
29 Packages related to this are tcl::chan::null and tcl::chan::zero.
30
31 The internal TclOO class implementing the channel handler is a sub-
32 class of the tcl::chan::events framework.
33
35 ::tcl::chan::nullzero
36 This command creates a new nullzero channel and returns its han‐
37 dle.
38
40 This document, and the package it describes, will undoubtedly contain
41 bugs and other problems. Please report such in the category virtchan‐
42 nel of the Tcllib Trackers [http://core.tcl.tk/tcllib/reportlist].
43 Please also report any ideas for enhancements you may have for either
44 package and/or documentation.
45
46 When proposing code changes, please provide unified diffs, i.e the out‐
47 put of diff -u.
48
49 Note further that attachments are strongly preferred over inlined
50 patches. Attachments can be made by going to the Edit form of the
51 ticket immediately after its creation, and then using the left-most
52 button in the secondary navigation bar.
53
55 /dev/null, /dev/zero, null, reflected channel, tip 219, virtual chan‐
56 nel, zero
57
59 Channels
60
62 Copyright (c) 2009 Andreas Kupries <andreas_kupries@users.sourceforge.net>
63
64
65
66
67tcllib 1 tcl::chan::nullzero(n)