Adapted for ANSI C and our pseudo-Posix syscall interface.

This commit is contained in:
dtrg
2007-04-21 23:18:14 +00:00
parent 078faadbf9
commit f33fd63590
37 changed files with 222 additions and 279 deletions

View File

@@ -18,8 +18,9 @@
/* function uwrite(fd:integer; var b:buf; n:integer):integer; */
extern int _write();
#include <stdlib.h>
#include <unistd.h>
int uwrite(fd,b,n) char *b; int fd,n; {
return(_write(fd,b,n));
return(write(fd,b,n));
}