mirror of
https://github.com/odiecay/chronicle-ps4.git
synced 2026-10-26 11:01:39 +01:00
27 lines
516 B
Plaintext
27 lines
516 B
Plaintext
#pragma once
|
|
|
|
/* Declarations only; reassembled from ref/asm/split/main/printf.s. */
|
|
|
|
extern "C" {
|
|
|
|
struct FILE;
|
|
|
|
struct _reent {
|
|
int _errno;
|
|
FILE *_stdin;
|
|
FILE *_stdout;
|
|
FILE *_stderr;
|
|
};
|
|
|
|
extern _reent *_impure_ptr[];
|
|
|
|
int printf(const char *fmt, ...);
|
|
int fprintf(FILE *stream, const char *fmt, ...);
|
|
int sprintf(char *out, const char *fmt, ...);
|
|
int fflush(FILE *stream);
|
|
}
|
|
|
|
#define stdin (_impure_ptr[0]->_stdin)
|
|
#define stdout (_impure_ptr[0]->_stdout)
|
|
#define stderr (_impure_ptr[0]->_stderr)
|