shithub: riscv

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