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