PARAMETERS

[in reply receive (to be converted to send-once) right]
The port to
which the reply message is to be sent.

mode

[in scalar]
I/O mode value. Meaningful options are:

D_NOWAIT

Do not wait if data is unavailable.

recnum

[in scalar]
Record number to be read.

bytes_wanted

[in scalar]
Size of data transfer.

return_code

[in scalar]
The return status code from the read.

data

[out array of bytes, in for asynchronous form]
Returned data bytes.

data_count

[out scalar, in for asynchronous form]
Number of returned data bytes.

DESCRIPTION

The device_read_inband function reads a sequence of bytes
from a device object. The
meaning of recnum as well as the specific operation performed is device
dependent. This call differs from device_read in that
the returned bytes are returned
"inband" in the reply IPC message.