Use _ versions of system-calls

This commit is contained in:
ceriel
1991-02-22 16:57:42 +00:00
parent cf10cabb6f
commit 1118da779b
13 changed files with 43 additions and 44 deletions

View File

@@ -23,7 +23,7 @@
extern _cls();
extern _trp();
extern int open();
extern int _open();
/* procedure popen(var f:text; s:string); */
@@ -36,6 +36,6 @@ popen(f,s) struct file *f; char *s; {
f->size = 1;
f->count = 0;
f->buflen = PC_BUFLEN;
if ((f->ufd = open(s,0)) < 0)
if ((f->ufd = _open(s,0)) < 0)
_trp(ERESET);
}