blob: 66299ab979d50ce85a59bff18e129ff217107ef8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#include <stdio.h>
#include "_stdio.h"
/** tests the file stream error indicator **/
int ferror(FILE *stream)
{
SIGNAL_SAFE(0);
ASSERT_NONNULL(stream);
/*
RETURN(0, the error indicator is not set);
RETURN(NONZERO, the error indicator is set);
*/
return stream->err;
}
/***
tests the error indicator of ARGUMENT(stream).
***/
/*
STDC(1)
*/
|