]> gitweb.factorcode.org Git - factor.git/blob - vm/io.hpp
VM: fixes so that raw_fread and safe_fread returns a size_t again
[factor.git] / vm / io.hpp
1 namespace factor {
2
3 /* Safe IO functions that does not throw Factor errors. */
4 int raw_fclose(FILE* stream);
5 size_t raw_fread(void* ptr, size_t size, size_t nitems, FILE* stream);
6
7 /* Platform specific primitives */
8
9 VM_C_API int err_no();
10 VM_C_API void set_err_no(int err);
11
12 }