4.3BSD/usr/contrib/icon/man/cat3/seek.3




SEEK(3.icon)          Icon Program Library           SEEK(3.icon)



NNNNAAAAMMMMEEEE
     seek - seek to position in stream

SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
     sssseeeeeeeekkkk((((ffffiiiilllleeee,,,,ooooffffffffsssseeeetttt,,,,ppppttttrrrrnnnnaaaammmmeeee))))

DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
     sssseeeeeeeekkkk sets the position of the next input or output operation
     on ffffiiiilllleeee.  The new position is at the signed distance ooooffffffffsssseeeetttt
     bytes from the beginning, the current, or the end of the
     file, depending on whether ppppttttrrrrnnnnaaaammmmeeee is 0, 1, or 2. sssseeeeeeeekkkk
     returns the current value of the offset relative to the
     beginning of ffffiiiilllleeee.

SSSSEEEEEEEE AAAALLLLSSSSOOOO
     fseek(3s)

AAAAUUUUTTTTHHHHOOOORRRR
     Stephen B. Wampler




































Version 5.9    The University of Arizona - 8/12/84              1