shithub: riscv

ref: 739bb1a06f2fce522a602c7f1dd61c1d28ffda8b
dir: /sys/src/libc/9sys/write.c/

View raw version
#include	<u.h>
#include	<libc.h>

long
write(int fd, void *buf, long n)
{
	return pwrite(fd, buf, n, -1LL);
}