mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-25 11:48:06 +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
Notes:
sideshowbarker
2024-07-18 17:10:04 +09:00
Author: https://github.com/timschumi
Commit: a3b4e43dd8
Pull-request: https://github.com/SerenityOS/serenity/pull/7537
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