shithub: riscv

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