Casio IT-2000W Technical Reference Manual page 133

Casio pda technical reference manual
Table of Contents

Advertisement

UngetCommChar
int UngetCommChar(idComDev, chUnget)
int idComDev;
char chUnget;
The UngetCommChar function replaces the specified character in the reception queue. At the next
read operation, this character will be read first.
< Parameter >
idComDev: Specifies the communication device which receives the characters. The OpenComm
function returns this value.
Specifies the characters to be placed in the reception queue.
chUnget:
< Return value >
Returns zero if the function is terminated normally. Otherwise it returns a value less than zero.
Note:
The UngetCommChar function cannot be called repeatedly. To make it possible to call this function
again, it is necessary to read out characters in the queue.
Note on IrDA:
There are no particular use restrictions.
/* Communication device */
/* Character to be placed in the queue */
133

Advertisement

Table of Contents
loading

Table of Contents