Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ seek(2) — Purdue Xinu

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

close(2)

control(2)

getc(2)

open(2)

putc(2)

read(2)

write(2)

SEEK(2)

NAME

seek − device independent position seeking routine

SYNOPSIS

int seek(dev, position)
int dev;
char ∗buffer;
long position;

DESCRIPTION

Seek will position the device given by dev after the position byte.  It returns SYSERR if dev is incorrect, or if it is not possible to position dev as specified. 

Seek cannot be used with devices connected to terminals. 

Note that the position argument is declared long rather than int. 

SEE ALSO

close(2), control(2), getc(2), open(2), putc(2), read(2), write(2)

December 01, 1986  —  Xinu Programmer’s Manual

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026