use syscall for doing syswrite stuff -- more portable?
[unix-history] / usr / src / local / sccscmds / sccscmds.2 / util / write.c
index c8b5939..498c466 100644 (file)
@@ -1,5 +1,7 @@
 # include "errno.h"
 # include "../hdr/macros.h"
 # include "errno.h"
 # include "../hdr/macros.h"
+#include <sys/syscall.h>
+#define        syswrite(a,b,c) syscall(SYS_write,a,b,c)
 SCCSID(@(#)write       2.1);
 
 /*
 SCCSID(@(#)write       2.1);
 
 /*