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:
parent
a49c77b76d
commit
a3b4e43dd8
2 changed files with 57 additions and 0 deletions
16
Userland/Libraries/LibC/stdio_ext.h
Normal file
16
Userland/Libraries/LibC/stdio_ext.h
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue