iostream bioskey(1)/bioskey(0) replacement

Hi Forks,

is there an easy way to find out if there are any characters pending in
the istream input buffer (without waiting for a carriage return)? I’m
looking for a bioskey(1) replacement function that will work in QNX.

Thanks

tcischars()