#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);

}
