shithub: riscv

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