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

.so tmac.ilib
.TH SEEK 3.icon "The University of Arizona \- 8/12/84"
.SH NAME
seek \- seek to position in stream
.SH SYNOPSIS
.nf
.sp
\*Mseek(file,\*boffset,\*bptrname)\fR
.fi
.SH DESCRIPTION
\*Mseek\fR sets the position of the next input or output operation on \*Mfile\fR.
The new position is at the signed distance \*Moffset\fR bytes from the
beginning, the current, or the end of the file, depending on whether
\*Mptrname\fR is 0, 1, or 2. \*Mseek\fR returns the current value of the
offset relative to the beginning of \*Mfile\fR.
.SH SEE ALSO
fseek(3s)
.SH AUTHOR
Stephen B. Wampler