Hello again I'm trying to figure out how to check how much unread data is in the buffer for a stream. On a Solaris machine you can find it in e.g. stdin->_cnt i think, but this does not seem to be defined in Nut/OS's FILE struct... mvh Arnfinn