summaryrefslogtreecommitdiff
path: root/libraries/euler/include/cstdio
blob: 3bb293b997eb4d9958e480e8d0a35ca55d2b9657 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

#define EOF (-1)

namespace euler {
  struct file_t;
}

namespace std {

  typedef euler::file_t FILE;

  FILE *fopen(const char *path, const char *mode);
  int fclose(FILE *file);

  int fgetc(FILE *from);
  int ungetc(int ch, FILE *from);

}