25 lines
639 B
C
25 lines
639 B
C
#pragma once
|
|
#include <stddef.h>
|
|
#include <stdarg.h>
|
|
#include <common/printf.h>
|
|
|
|
#ifndef SEEK_SET
|
|
#define SEEK_SET 0
|
|
#define SEEK_CUR 1
|
|
#define SEEK_END 2
|
|
#endif
|
|
|
|
typedef struct NTL_NTFS3G_STDIO_FILE { int unused; } FILE;
|
|
extern FILE* stderr;
|
|
extern FILE* stdout;
|
|
extern FILE* stdin;
|
|
|
|
int fprintf(FILE* stream, const char* format, ...);
|
|
int vfprintf(FILE* stream, const char* format, va_list args);
|
|
int fputs(const char* text, FILE* stream);
|
|
int puts(const char* text);
|
|
|
|
int fflush(FILE* stream);
|
|
int snprintf(char* buffer, size_t size, const char* format, ...);
|
|
int vsnprintf(char* buffer, size_t size, const char* format, va_list args);
|