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

@@ -25,7 +25,7 @@
extern int errno;
extern _trp();
extern int read();
extern int _read();
_incpt(f) struct file *f; {
@@ -40,7 +40,7 @@ _incpt(f) struct file *f; {
if (f->count == 0) {
f->ptr = f->bufadr;
for(;;) {
f->count=read(f->ufd,f->bufadr,f->buflen);
f->count=_read(f->ufd,f->bufadr,f->buflen);
if ( f->count<0 ) {
if (errno != EINTR) _trp(EREAD) ;
continue ;