shithub: riscv

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