shithub: riscv

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