1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 09:34:59 +00:00

LibC: Implement __freading and __fwriting

These functions are used by gnulib (and therefore many GNU utilities)
to provide access to internal details of the stdio FILE structure.
This commit is contained in:
Tim Schumacher 2021-05-26 08:39:19 +02:00 committed by Linus Groh
parent a49c77b76d
commit a3b4e43dd8
2 changed files with 57 additions and 0 deletions

View file

@ -0,0 +1,16 @@
/*
* Copyright (c) 2021, the SerenityOS developers
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <stdio.h>
__BEGIN_DECLS
int __freading(FILE*);
int __fwriting(FILE*);
__END_DECLS