]> gitweb.factorcode.org Git - factor.git/blob - vm/io.hpp
removed some global functions from io.cpp
[factor.git] / vm / io.hpp
1 namespace factor
2 {
3
4 PRIMITIVE(fopen);
5 PRIMITIVE(fgetc);
6 PRIMITIVE(fread);
7 PRIMITIVE(fputc);
8 PRIMITIVE(fwrite);
9 PRIMITIVE(fflush);
10 PRIMITIVE(fseek);
11 PRIMITIVE(fclose);
12
13 /* Platform specific primitives */
14 PRIMITIVE(open_file);
15 PRIMITIVE(existsp);
16 PRIMITIVE(read_dir);
17
18 VM_C_API int err_no();
19 VM_C_API void clear_err_no();
20
21 }