ref: c8e25d2a18c0395431abc5818a1d2f0561b0181f 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); }