blob: e2d05b6fa608c0de609ac4bec26c5c9d52fed72f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
#include <cstdio>
namespace std {
size_t fread(void *buffer, size_t size, size_t count, FILE *stream) {
return stream->try_read(buffer, size * count) ? count : 0;
}
}
|