fileevent(3tcl)
π fileevent(3tcl) β Tcl Built-In Commands π
okay bestie, welcome to fileevent, a lil Tcl built-in that fires off a script the second a channel gets readable or writable. it's giving classic, it's giving vintage... and it's also giving superceded, so buckle up π
β¨ NAME β¨
fileevent β run a script whenever a channel turns readable or writable π
πΈ SYNOPSIS πΈ
fileevent channel readable ?script?
fileevent channel writable ?script?
π¦ DESCRIPTION π¦
okay so the tea is: fileevent has been superceded by the chan event command, which supports the exact same syntax and the exact same options. so like, same vibe, newer era. iconic behavior honestly β¨
π SEE ALSO π
chan(3tcl)β the glow-up that took over, go read that one bestie π«Ά
and that's the whole page, no cap. this lil relic is from Tcl version 7.5, so if you're out here reading it you're basically a Unix historian at this point. stay slay, go use chan event, mwah πβ¨π
π¦ where this page comes from
- debian trixie: tcl9.0-doc 9.0.1+dfsg-2
- ubuntu questing: tcl9.0-doc 9.0.2+dfsg-1
- ubuntu resolute: tcl9.0-doc 9.0.3+dfsg-1
- ubuntu stonking: tcl9.0-doc 9.0.4+dfsg-1
- 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