[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
CINP-CNT
. Summary
cinp_cnt();
. Description
The cinp_cnt function returns the number of characters waiting in
the received data communications buffer.
. Return Value
An integer value as described above.
. Examples
if (cinp_cnt() > 10) // if more than 10 chars waiting
handle_stuff(); // do action
while (!cinp_cnt()) // loop until no chars available
;
if (cinp_cnt()) // if something available, get it
c = cgetc();
See Also:
cgetc
cgetct
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson