Ausam/doc/man/man2/tell.2

Find at most related files.
including files from this version of Unix.

.th TELL II 5/31/77
.sh NAME
tell \*- get file offset
.sh SYNOPSIS
(tell = 27.)
.br
(file descriptor in r0)
.br
.ft B
sys	tell
.br
.ft R
(offset in r0-r1)
.ft B
.s3
long	tell(file)
.br
int file;
.ft R
.sh DESCRIPTION
.it Tell
returns the current read/write
pointer associated with the open file whose descriptor
is specified as argument.
.sh "SEE ALSO"
seek (II)
.sh DIAGNOSTICS
C-bit set or \-1 returned for an unknown file descriptor.