Emoslib is now deprecated

A subroutine which can be called from FORTRAN to tell the current byte offset in a file.

The format and arguments for the subroutine are:

      SUBROUTINE PBTELL( KUNIT, KRET)

Input parameter is an INTEGER.

 

PBTELL input argument
KUNITThe index of a UNIX FILE pointer held in an internal table obtained from PBOPEN

The output parameter is an INTEGER.

 

PBTELL output argument
KRET
Return code
  -2 = error in handling file,
  otherwise = current byte offset from start of file.