On Solaris 2.3 with Sparc 10:
Can someone please suggest a sensible way to check if characters are
waiting to be read from an I/O channel?
I would like to be able to do an fopen on /dev/bpp0 (the parallel port)
and see if there are any characters waiting to be read. Or some kind of
non-blocking read would be OK also. What is the technique required
under Solaris 2.x?