Ns cleanupchans

From AOLserver Wiki
Jump to: navigation, search

Man page: http://aolserver.com/docs/tcl/ns_cleanupchans.html


NAME

ns_cleanupchans - Close all I/O channels except the std ones

SYNOPSIS

ns_cleanupchans

DESCRIPTION

This command closes all shared channels (via ns_chan) and all regular channels except those that match the glob expression "std*" where the intention is to not close stdin, stdout and stderr. This command is defined in tcl/init.tcl and is also called as part of ns_cleanup.

SEE ALSO

ns_chan, ns_cleanup, ns_getchannels, Tcl [file channels] [1]

Category Documentation - Category Core Tcl API