Artifact a6f65e8657b4f156e0f3fb80adf158dd534724bf74d314ec31d2ea46872c40cb:
- File doc/markdown/fileevent.md — part of check-in [b251f550f8] at 2025-06-06 09:52:02 on branch tip-700 — - added inital version of 13 more manual pages in markdown - fix parseCommand Span elements and add missing Space elements inside - update tests accordingly - added test for a larger snippet of a manual page - move reading of files out of man2AST (user: Torsten, size: 685) [annotate] [blame] [check-ins using] [more...]
CommandName: fileevent ManualSection: n Version: 7.5 TclPart: Tcl TclDescription: Tcl Built-In Commands Links:
- chan(n) Copyright:
- Copyright (c) 1994 The Regents of the University of California.
- Copyright (c) 1994-1996 Sun Microsystems, Inc.
- Copyright (c) 2008 Pat Thoyts ---
Name
fileevent - Execute a script when a channel becomes readable or writable
Synopsis
::: {.synopsis} ::: [fileevent]{.cmd} [channel]{.arg} [readable]{.lit} [script]{.optarg} [fileevent]{.cmd} [channel]{.arg} [writable]{.lit} [script]{.optarg} :::
Description
The fileevent command has been superceded by the chan event command which supports the same syntax and options.