Sign in
cobalt
/
cobalt
/
97b64f26fb12c9eab352139c26f0b01d1cb6d0b9
/
.
/
third_party
/
musl
/
src
/
stdio
/
ofl_add.c
blob: d7de9f15a13ee3fc5f7118ce35dea64bb65cbd5d [
file
] [
log
] [
blame
]
#include
"stdio_impl.h"
FILE
*
__ofl_add
(
FILE
*
f
)
{
FILE
**
head
=
__ofl_lock
();
f
->
next
=
*
head
;
if
(*
head
)
(*
head
)->
prev
=
f
;
*
head
=
f
;
__ofl_unlock
();
return
f
;
}