shithub: riscv

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