The function feof() is declared in stdio.h, but I miss the implementation. I have added a short mapping function which calls stream->get_eof_state(). Have I overlooked something? Jörg Tröger