Meg's Mirrors
zig
about
heads
tags
log
tree
search
Search
zig
lib
libc
musl
src
stdio
clearerr.c
pretty
plain
permalink
blame
history
•
10 lines
•
147 B
1
#include "stdio_impl.h"
2
3
void clearerr(FILE *f)
4
{
5
	FLOCK(f);
6
	f->flags &= ~(F_EOF|F_ERR);
7
	FUNLOCK(f);
8
}
9
10
weak_alias(clearerr, clearerr_unlocked);