Previous: fsave fload, Up: Further functions [Index]
select
on Octave streamsNote that for cluster connections select_sockets should be used instead.
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.