shithub: riscv

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