projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
implement [v]swprintf
[oweals/musl.git]
/
src
/
stdio
/
flockfile.c
1
#include "stdio_impl.h"
2
#include "pthread_impl.h"
3
4
void flockfile(FILE *f)
5
{
6
if (!libc.lockfile) {
7
pthread_self();
8
libc.lockfile = __lockfile;
9
}
10
__lockfile(f);
11
}