aboutsummaryrefslogtreecommitdiff
path: root/sys/src/write.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/src/write.c')
-rw-r--r--sys/src/write.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/src/write.c b/sys/src/write.c
new file mode 100644
index 0000000..c1faff5
--- /dev/null
+++ b/sys/src/write.c
@@ -0,0 +1,7 @@
+#include "internal.h"
+
+intptr
+sys·write(int fd, intptr size, intptr len, void *buf)
+{
+ return syscall(·Write, fd, buf, size*len);
+}