Why isastream() alway returns 0?



Hi,

It seems that calling isastream( fd ) on many /dev/xxx such /dev/tty0
always return 0, means not a stream. What's wrong with it?

Thanks.

-
woody
.