changelog shortlog tags branches changeset files revisions annotate raw help

Mercurial > hg > plan9front / sys/src/ape/lib/ap/arm64/_seek.c

changeset 7190: 41fb44a3b2dc
author: cinap_lenrek@felloff.net
date: Fri, 03 May 2019 21:06:46 +0200
permissions: -rw-r--r--
description: ape: initial support for arm64
1 extern long __SEEK(long long*, int, long long, int);
2 
3 long long
4 _SEEK(int fd, long long o, int p)
5 {
6  long long l;
7 
8  if(__SEEK(&l, fd, o, p) < 0)
9  l = -1;
10  return l;
11 }