mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 04:48:20 +00:00
also start prefering NtDll API. so far: * NtQueryInformationFile * NtClose adds a performance workaround for windows unicode conversion. but that should probably be removed before merging
12 lines
172 B
C
Vendored
12 lines
172 B
C
Vendored
#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;
|
|
}
|