source:
asp3_tinet_ecnl_rx/trunk/musl-1.1.18/src/stdio/ofl_add.c@
337
Last change on this file since 337 was 337, checked in by , 6 years ago | |
---|---|
|
|
File size: 172 bytes |
Rev | Line | |
---|---|---|
[337] | 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 | } |
Note:
See TracBrowser
for help on using the repository browser.