       1mselect 4m22mreadfileIds24m ?4mwritefileIds24m? ?4mexceptfileIds24m? ?4mtimeout24m?
              This  command  allows an Extended Tcl program to wait on zero or
              more files being ready for for reading, writing, have an  excep-
              tional  condition  pending,  or  for a timeout period to expire.
              4mreadFileIds24m,  4mwriteFileIds24m,  4mexceptFileIds24m  are  each  lists  of
              fileIds,  as  returned  from 1mopen22m, to query.  An empty list ({})
              may be specified if a category is not used.

              The files specified by the 4mreadFileIds24m list are checked  to  see
              if  data  is available for reading. The 4mwriteFileIds24m are checked
              if the specified files are clear for writing.  The 4mexceptFileIds0m
              are  checked  to  see  if  an exceptional condition has occurred
              (typically, an error).  The write and exception checking is most
              useful  on  devices,  however,  the read checking is very useful
              when  communicating  with  multiple  processes  through   pipes.
              Select considers data pending in the stdio input buffer for read
              files as being ready for reading, the files do.  not have to  be
              unbuffered.

              4mTimeout24m  is  a  floating point timeout value, in seconds.  If an
              empty list is supplied (or the parameter is  omitted),  then  no
              timeout  is  set.  If the value is zero, then the 1mselect 22mcommand
              functions as a poll of the files, returning immediately even  if
              none are ready.

              If  the  4mtimeout24m  period expires with none of the files becoming
              ready, then the command returns an empty  list.   Otherwise  the
              command returns a list of three elements, each of those elements
              is a list of the fileIds that are ready in the read,  write  and
              exception classes.  If none are ready in a class, then that ele-
              ment will be the null list.  For example:

                      select {file3 file4 file5} {file6 file7} {} 10.5

              could return

                      {file3 file4} {file6} {}

              or perhaps

                      file3 {} {}

              On 1mWindows22m, only sockets can be used with  the  1mselect  22mcommand.
              Pipes, as returned by the 1mopen 22mcommand, are not supported.
