ref: c5637a66520aaaa46fc8df8b5fa5cdf7ed26aea9 dir: /sys/src/libc/9sys/write.c/
#include <u.h> #include <libc.h> long write(int fd, void *buf, long n) { return pwrite(fd, buf, n, -1LL); }