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