This repository has been archived on 2025-02-26. You can view files and clone it, but cannot push or open issues or pull requests.
hilbert-os/euler/include/cstdio

20 lines
385 B
Text

#pragma once
#include <euler/stream.hpp>
#include <stddef.h>
namespace std {
typedef euler::stream FILE;
FILE *fopen(const char *filename, const char *mode);
int fclose(FILE *stream);
int fseek(FILE *stream, long offset, int origin);
#define SEEK_SET 0
#define SEEK_CUR 2
#define SEEK_END 1
size_t fread(void *buffer, size_t size, size_t count, FILE *stream);
}