shithub: riscv

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