2020-03-03 08:35:14 +00:00
|
|
|
@extern void (string str) print;
|
|
|
|
@extern int () errno;
|
|
|
|
@extern string (int err) strerror;
|
|
|
|
@extern int (...) open; // string path, float flags[, float mode]
|
|
|
|
@extern int (int handle) close;
|
|
|
|
@extern string read (int handle, int count, int *result);
|
|
|
|
@extern int (int handle, string buffer, int count) write;
|
|
|
|
@extern int (int handle, int pos, int whence) seek;
|
2005-05-01 11:48:36 +00:00
|
|
|
|
2020-03-03 08:35:14 +00:00
|
|
|
@extern void() traceon; // turns statment trace on
|
|
|
|
@extern void() traceoff;
|
2005-05-01 11:48:36 +00:00
|
|
|
|
2020-03-03 08:35:14 +00:00
|
|
|
@extern void (...) printf;
|