21 #pragma GCC system_header
23 #include_next <stdio.h>
25 #ifndef _XENO_POSIX_STDIO_H
26 #define _XENO_POSIX_STDIO_H
30 #include <xeno_config.h>
36 int __real_vfprintf(FILE *stream,
const char *fmt, va_list args);
38 #ifdef CONFIG_XENO_FORTIFY
39 int __real___vfprintf_chk(FILE *stream,
int level,
const char *fmt, va_list ap);
42 int __real_vprintf(
const char *fmt, va_list args);
44 int __real_fprintf(FILE *stream,
const char *fmt, ...);
46 int __real_printf(
const char *fmt, ...);
48 int __real_puts(
const char *s);
50 int __real_fputs(
const char *s, FILE *stream);
52 int __real_fputc(
int c, FILE *stream);
54 int __real_putchar(
int c);
56 size_t __real_fwrite(
const void *ptr,
size_t sz,
size_t nmemb, FILE *stream);
58 int __real_fclose(FILE *stream);