mirror of
https://github.com/zer0condition/GoodmansKernel/
synced 2026-08-19 01:14:35 +00:00
30 lines
703 B
C
30 lines
703 B
C
/* stdio.h - kshim decls, bodies in kshim.c */
|
|
#pragma once
|
|
|
|
#include <stdarg.h>
|
|
#include <stddef.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef void FILE;
|
|
|
|
extern FILE* const stdout;
|
|
extern FILE* const stderr;
|
|
extern FILE* const stdin;
|
|
|
|
int __cdecl printf(const char* fmt, ...);
|
|
int __cdecl fprintf(FILE* stream, const char* fmt, ...);
|
|
int __cdecl snprintf(char* buf, size_t sz, const char* fmt, ...);
|
|
int __cdecl vsnprintf(char* buf, size_t sz, const char* fmt, va_list ap);
|
|
int __cdecl puts(const char* s);
|
|
int __cdecl fputs(const char* s, FILE* stream);
|
|
int __cdecl fputc(int c, FILE* stream);
|
|
int __cdecl putchar(int c);
|
|
int __cdecl fflush(FILE* stream);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|