.
D 2019-06-03T16:07:43.529
J assignee aku
J closer nobody
J comment The\sTcl\scommand\s[file\schannels\s$pattern]\sreturns\r\na\slist\sof\sthe\snames\sof\sall\sopen\schannels,\swhere\r\nthe\sname\smatches\s$pattern.\r\n\r\nHowever,\sthe\snames\sof\schannels\sare\snot\sdocumented\r\nto\shave\sany\sparticular\sproperties.\s\sThey\sare\sjust\r\ntokens\sto\sbe\spassed\saround\sby\scommands\sthat\r\nmanipulate\sor\suse\schannels.\r\n\r\nAlso,\sany\schannel\sthat\shappens\sto\sbe\saliased\r\nto\sa\sstandard\schannel\sbecomes\sknown\sby\sthe\r\nstd\schannel\sname\s(f.e.\sstdout)\sin\sthe\r\n[file\schannels]\soutput,\snot\smatter\swhat\sits\r\noriginal\snames\swas.\r\n\r\nSo.\s[file\schannels\ssock*]\sis\snot\sa\sfoolproof\r\nway\sto\sget\sa\slist\sof\sall\sopen\ssockets.\r\n\r\nWe\sneed\sanother\smeans\sto\sintrospect\schannels\r\nby\stheir\sTcl_ChannelType.
J icomment \r\nSee\sTIP\s411
J login dgp
J mimetype text/plain
J severity Minor
K 455867ffffffffffffffffffffffffffffffffff
U dgp
Z cb82f0bbc8d0fba6109e93f20bb49d4b