shithub: riscv

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