SELECT_READ_LUN Procedure (UNIX)
Waits for input on any of a list of logical unit numbers.
Usage
SELECT_READ_LUN,
luns
Input Parameters
luns
A vector of logical unit numbers.
Output Parameters
luns
A vector of logical unit numbers.
Keywords
Timeout
Amount of time, in seconds, this procedure should block while waiting for input. This may be a floating-point number. The default is to block forever.
Widget
If present and nonzero, selects the
X11 socket. If there is no X11 input, then the value of this keyword is set to -1.
Description
This procedure checks for input on all the logical unit numbers specified in the
luns
vector. When it returns, those unit numbers
without
input are set to -1. By default, this procedure blocks forever waiting for input. Keyword
Timeout
can be used to reduce the time the procedure blocks. This procedure always returns when any one of the listed LUNs has input to be read.
This procedure is an interface to the
select_read_lun
C routine in the
io.so
shared library.
See Also
ADD_EXEC_ON_SELECT
,
DROP_EXEC_ON_SELECT
,
EXEC_ON_SELECT
doc@boulder.vni.com
Copyright © 1999, Visual Numerics, Inc. All rights reserved.