shithub: riscv

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