ofl_add.c\stdio\src - musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/stdio/ofl_add.c
blob: d7de9f15a13ee3fc5f7118ce35dea64bb65cbd5d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#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;
}
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月06日 16:01:15 +0000

AltStyle によって変換されたページ (->オリジナル) /