shithub: riscv

ref: 7be7d0681f567e97fd37f937c2e5e486d6d74eab
dir: /sys/src/ape/lib/ap/alpha/_seek.c/

View raw version
extern	long	__SEEK(long long*, int, long long, int);

long long
_SEEK(int fd, long long o, int p)
{
	long long l;

	if(__SEEK(&l, fd, o, p) < 0)
		l = -1;
	return l;
}