shithub: riscv

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