select
on Octave streams ¶Note that for cluster connections Call Unix select
for data connections should be used
instead.
[n, ridx, widx, eidx] =
select (read_fids, write_fids, except_fids, timeout[, nfds])
¶Calls Unix select
, see the respective manual.
The following interface was chosen: read_fids, write_fids, except_fids: vectors of stream-ids. timeout: seconds, negative for infinite. nfds: optional, default is Unix’ FD_SETSIZE (platform specific). An error is returned if nfds or a filedescriptor belonging to a stream-id plus one exceeds FD_SETSIZE. Return values are: n: number of ready streams. ridx, widx, eidx: index vectors of ready streams in read_fids, write_fids, and except_fids, respectively.