shithub: riscv

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