projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
make pthread_create return EAGAIN on resource failure, as required by POSIX
[oweals/musl.git]
/
src
/
stdio
/
ferror.c
1
#include "stdio_impl.h"
2
3
#undef ferror
4
5
int ferror(FILE *f)
6
{
7
return !!(f->flags & F_ERR);
8
}
9
10
weak_alias(ferror, ferror_unlocked);