shithub: riscv

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