shithub: riscv

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