shithub: riscv

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