shithub: riscv

ref: 9672be80e84cb3253dc999fbaa5dbc7913a17e0e
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);
}