DEVHIO_sio_wait Function#include <kmc/hio/devhio_sio.h>
int DEVHIO_sio_wait(
int ch,
int attr
);
| Name | Description | |
|---|---|---|
| in | ch | Channel number (from 0 to DEVHIO_SIO_MAX_CHANNEL-1). |
| in | attr | Specifying DEVHIO_SIO_ATTR_NONE causes the function to block until the communication partner calls connect.Specifying DEVHIO_SIO_ATTR_NOWAIT causes the operation to return immediately without blocking. |
Waits until the target device for serial communication calls connect.
CONFIDENTIAL