mirror of
https://github.com/SEPPDROID/Digital-Research-Source-Code.git
synced 2025-10-23 16:34:07 +00:00
15 lines
157 B
C
15 lines
157 B
C
#ifdef PDP11
|
|
seek(fd,of,pn)
|
|
int fd,of,pn;
|
|
{
|
|
register long lof;
|
|
|
|
lof = of;
|
|
if(pn >= 3) {
|
|
lof *= 512;
|
|
pn -= 3;
|
|
}
|
|
lseek((int)fd,lof,(int)pn);
|
|
}
|
|
#endif
|