shithub: riscv

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