mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 20:22:24 +00:00
added includes to not use internal write, read in Console and Unix
Former-commit-id: b25a810007
This commit is contained in:
parent
331170683e
commit
44dd584190
6 changed files with 15 additions and 3 deletions
|
|
@ -313,6 +313,14 @@ from man gettimeofday
|
|||
PROCEDURE -includeErrno()
|
||||
"#include <errno.h>";
|
||||
|
||||
(* for read(), write() *)
|
||||
PROCEDURE -includeUnistd()
|
||||
"#include <unistd.h>";
|
||||
|
||||
(* for system() *)
|
||||
PROCEDURE -includeStdlib()
|
||||
"#include <stdlib.h>";
|
||||
|
||||
PROCEDURE -err(): LONGINT
|
||||
"errno";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue