projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix uninitialized waiters field in semaphores
[oweals/musl.git]
/
src
/
stdio
/
fgetc.c
1
#include "stdio_impl.h"
2
3
int fgetc(FILE *f)
4
{
5
int c;
6
FLOCK(f);
7
c = getc_unlocked(f);
8
FUNLOCK(f);
9
return c;
10
}
11
12
weak_alias(fgetc, getc);