blob: 32544688b402c1ab233535290313cdc823e3b65d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
#include <cstdio>
namespace std {
int fseek(FILE *stream, long offset, int origin) {
if (origin < 0 || origin > 2)
return 1;
return stream->try_seek((__euler_seek_from)origin, offset) ? 0 : 2;
}
}
|