tcl::c...ullzero(3tcl)

πŸ“¦
version 2.0 Β· 2 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ tcl::chan::nullzero ✨

okay bestie, welcome to the manual page for tcl::chan::nullzero from the tcl::chan family (section 3tcl, obvi) πŸ’– it's literally the Null/Zero channel combination and it's giving chaos in the cutest way.


🌸 NAME 🌸

tcl::chan::nullzero β€” Null/Zero channel combination πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

package require Tcl 8.5 9

package require TclOO

package require tcl::chan::events ?1.1?

package require tcl::chan::nullzero ?1.1?

::tcl::chan::nullzero

πŸ¦‹ DESCRIPTION πŸ¦‹

So the tcl::chan::nullzero package hands you a command that makes channels, and these channels are a combo of the null and zero devices. The way that they immediately forget whatever you write to them?? iconic. And on reading they return an infinite stream of null characters. fr fr, infinite. no cap. ✨

The packages related to this one are tcl::chan::null and tcl::chan::zero β€” they're the siblings, the little family 🫢

Also important: the internal TclOO class that implements the channel handler is a sub-class of the tcl::chan::events framework. iykyk πŸ’œ


πŸ‘‘ API πŸ‘‘

  • ::tcl::chan::nullzero β€” this command creates a new nullzero channel and returns its handle. that's it, that's the whole job, and it ate πŸ’…

πŸ’€ BUGS, IDEAS, FEEDBACK πŸ’€

ngl, this document and the package it describes will undoubtedly contain bugs and other problems. 😭 please report such in the category virtchannel of the Tcllib Trackers at [http://core.tcl.tk/tcllib/reportlist]. and please also report any ideas for enhancements you may have for either the package and/or the documentation β€” we wanna hear it πŸ₯Ί

When proposing code changes, please provide unified diffs, i.e the output of diff -u.

Note further that attachments are strongly preferred over inlined patches. Attachments can be made by going to the Edit form of the ticket immediately after its creation, and then using the left-most button in the secondary navigation bar. 🎯

πŸ”₯ KEYWORDS πŸ”₯

/dev/null, /dev/zero, null, reflected channel, tip 219, virtual channel, zero


🌈 CATEGORY 🌈

Channels


Copyright (c) 2009 Andreas Kupries <andreas_kupries@users.sourceforge.net>


and that's the whole vibe bestie πŸŽ€ this was tcllib version 1.1, page tcl::c...ullzero(3tcl) β€” go forth and make ur channels forget everything, main character energy only βœ¨πŸ¦‹πŸ’…

πŸ“¦ where this page comes from