shithub: riscv

ref: 8dfdc38f952b708732e605641bd9cc64b126cbdc
dir: /sys/src/ape/lib/ap/plan9/9write.c/

View raw version
#include "lib.h"
#include <string.h>
#include <stdlib.h>
#include "sys9.h"
#include "dir.h"

long
_WRITE(int fd, void *buf, long n)
{
	return _PWRITE(fd, buf, n, -1LL);
}