source:
asp3_tinet_ecnl_rx/trunk/musl-1.1.18/src/stdio/ofl.c
Last change on this file was 337, checked in by , 6 years ago | |
---|---|
|
|
File size: 204 bytes |
Line | |
---|---|
1 | #include "stdio_impl.h" |
2 | #include "libc.h" |
3 | |
4 | static FILE *ofl_head; |
5 | static volatile int ofl_lock[2]; |
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 | } |
Note:
See TracBrowser
for help on using the repository browser.