2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
9 /*****************************************************************************
20 Test the EOF-Flag of a stream. This flag is set automatically by
21 any function which recognises EOF. To clear it, call clearerr().
24 stream - The stream to be tested.
27 != 0, if the stream is at the end of the file, 0 otherwise.
40 ******************************************************************************/
42 return (stream
->flags
& __STDCIO_STDIO_EOF
) != 0;