tto_checkclients()

Check client lists for notify conditions

Synopsis:

#include <sys/io-char.h>

int tto_checkclients(TTYDEV *dev);

Arguments:

dev
A pointer to the structure that represents the specific device that data has been received on.

Description:

This function checks client lists for notification ( EVENT_NOTIFY_OUTPUT, EVENT_DRAIN or EVENT_WRITE). See the notify member of the TTYDEV structure.

Returns:

0
Success.
-1
An error occurred.

Classification:

QNX Neutrino

Safety:
Cancellation point No
Interrupt handler No
Signal handler No
Thread No

See also:

TTYDEV, tti(), tto(), tto_getchar()