shithub: riscv

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