tto_getchar()

Get the first character from the output buffer to process

Synopsis:

#include <sys/io-char.h >

unsigned char tto_getchar( TTYDEV *dev);

Arguments:

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

Description:

This function gets the first character from the obuf member of the TTYDEV structure to process.


Note: Don't call tto_getchar() on an empty buffer.

Returns:

The next character from the output buffer.

Classification:

QNX Neutrino

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

See also:

TTYDEV, tti(), tto(), tto_checkclients()