PWB1/usr/man/man2/tell.2

Compare this file to the similar file:
Show the results in this format:

.th TELL II 5/31/77
.sh NAME
tell \*- get file offset
.sh SYNOPSIS
(tell = 40.)
.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.