repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
select: overhaul for time64
[musl.git]
/
src
/
stdio
/
ofl.c
blob
f2d3215a9e7d7eec8f32351991f3ec8b4d270fc9
1
#include
"stdio_impl.h"
2
#include
"lock.h"
3
4
static FILE
*
ofl_head
;
5
static
volatile
int
ofl_lock
[
1
];
6
7
FILE
**
__ofl_lock
()
8
{
9
LOCK
(
ofl_lock
);
10
return
&
ofl_head
;
11
}
12
13
void
__ofl_unlock
()
14
{
15
UNLOCK
(
ofl_lock
);
16
}