shithub: riscv

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