shithub: riscv

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