diff options
author | Tim Schumacher <timschumi@gmx.de> | 2021-05-26 08:39:19 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-05-30 14:56:50 +0100 |
commit | a3b4e43dd86de12c1e2ca403f0535eaa3ef21497 (patch) | |
tree | 9b54585ee6892b31c4e7fc8e28fab9863e41e864 /Userland/Libraries/LibC/stdio_ext.h | |
parent | a49c77b76d0203a0165f3749c290ef363fbddd44 (diff) | |
download | serenity-a3b4e43dd86de12c1e2ca403f0535eaa3ef21497.zip |
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.
Diffstat (limited to 'Userland/Libraries/LibC/stdio_ext.h')
-rw-r--r-- | Userland/Libraries/LibC/stdio_ext.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Userland/Libraries/LibC/stdio_ext.h b/Userland/Libraries/LibC/stdio_ext.h new file mode 100644 index 0000000000..f9f8b5a18b --- /dev/null +++ b/Userland/Libraries/LibC/stdio_ext.h @@ -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 |