zero(n)
zero π³οΈβ¨
okay bestie, welcome to the zero page from the memchan manual, section n. it's giving "the void, but make it Tcl" and honestly? obsessed. π
πΈ NAME πΈ
zero β create and manipulate zero channels π
π¦ SYNOPSIS π¦
package require Tcl
package require memchan
zero
β¨ DESCRIPTION β¨
so like, first things first, bestie, and I need you to hear me on this: the command described here is only available in a not-yet released version of the package. like, it's not out yet. if you want it you gotta use the CVS to get the sources. that's the vibe. periodt.
zero creates a zero channel which absorbs everything written into it. literally everything. it's the digital equivalent of screaming into the void and the void being like "k, got it, keeping that, never speaking of it again" π«Ά
Reading from a zero channel will return the requested number of null bytes. so you ask for bytes, you get nulls. no notes. π
These channels are essentially Tcl-specific variants of the zero device for unixoid operating systems (/dev/zero). iykyk.
Transferring the generated channel between interpreters is possible but does not make much sense. like you can do it, nobody's stopping you, but why π
π OPTIONS π
Memory channels created by zero provide one additional option to set or query. just the one. one little icon π
-delay ?milliseconds?β okay so a zero channel is always writable and readable, which is iconic of it, but it means that all fileevent-handlers will fire continuously π₯π₯π₯. to avoid starvation of other event sources, the events raised by this channel type have a configurable delay. this option is set in milliseconds and defaults to5. so like, five. that's the number. that's the default. π
π SEE ALSO π
fifo, fifo2, memchan, null, random
π KEYWORDS π
channel, i/o, in-memory channel, null, zero
π COPYRIGHT π
Copyright (c) 2004 Pat Thoyts <patthoyts@users.sourceforge.net>
and that's the whole page, bestie!! π¦ this was Memory channels, version 2.2 β mwah, slay, no cap, go forth and absorb some writes into the void π³οΈππ
π¦ where this page comes from
- fedora 43: memchan 2.3-34.fc43 Β· LicenseRef-Callaway-MIT AND LicenseRef-Callaway-Public-Domain
- fedora 43: memchan 2.3-34.fc43 Β· LicenseRef-Callaway-MIT AND LicenseRef-Callaway-Public-Domain
- fedora 44: memchan 2.3-35.fc44 Β· LicenseRef-Callaway-MIT AND LicenseRef-Callaway-Public-Domain
- fedora 44: memchan 2.3-35.fc44 Β· LicenseRef-Callaway-MIT AND LicenseRef-Callaway-Public-Domain
- Copyright (c) 2004 Pat Thoyts <patthoyts@users\&.sourceforge\&.net>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms