shithub: riscv

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