shithub: riscv

ref: 403fef45c1a65aa74c449764e2857597fc03290a
dir: /sys/src/ape/lib/ap/plan9/9read.c/

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

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