shithub: riscv

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