projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix treatment by fgetws of encoding errors as eof
[oweals/musl.git]
/
src
/
stdio
/
ofl_add.c
1
#include "stdio_impl.h"
2
3
FILE *__ofl_add(FILE *f)
4
{
5
FILE **head = __ofl_lock();
6
f->next = *head;
7
if (*head) (*head)->prev = f;
8
*head = f;
9
__ofl_unlock();
10
return f;
11
}