fileevent(n)
β¨ fileevent(n) β¨
okay bestie, welcome to the fileevent page π this one lives in the Tcl Built-In Commands section of the manual, and honestly? it's a lil nostalgic relic. let's get into it π«Ά
π« NAME π«
fileevent β run a script when a channel becomes readable or writable πβ¨
π SYNOPSIS π
fileevent channel readable ?script?
fileevent channel writable ?script?
πΈ DESCRIPTION πΈ
so here's the tea β: the fileevent command has been superceded by the chan event command. no cap. π
and the good news is that chan event supports the exact same syntax and options, so likeβ¦ the glow-up is seamless, you just swap the name and you're slaying π
fr fr, if you're writing new code, go hang out withchan eventinstead.fileeventis giving legacy energy π
π SEE ALSO π
chan(n)β the main character that replaced this one π
and that's the whole page, bestie, short and sweet like a lil snack π
this gem comes from Tcl, version 7.5, and the date on the original footer is 7.5 too β so yeah, this one's been around a minute. periodt. ππ¦
π¦ where this page comes from
- alpine 3.23: tcl9-doc 9.0.3-r0 Β· TCL
- alpine 3.24: tcl9-doc 9.0.3-r2 Β· TCL
- fedora 43: tcl-doc 1:9.0.2-1.fc43 Β· TCL AND GPL-3.0-or-later WITH Bison-exception-2.2 AND BSD-3-Clause
- fedora 44: tcl-doc 1:9.0.2-1.fc44 Β· TCL AND GPL-3.0-or-later WITH Bison-exception-2.2 AND BSD-3-Clause
- nixos 26.05: tcl 9.0.3
- nixpkgs unstable: tcl 9.1.0
- Copyright (c) 1994 The Regents of the University of California
- Copyright (c) 1994-1996 Sun Microsystems, Inc
- Copyright (c) 2008 Pat Thoyts
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms