HELPLIB.HLB  —  CRTL  ftello
    Returns the current byte offset to the specified stream file.
    This function is equivalent to ftell.

    Format

      #include  <stdio.h>

      off_t ftello  (FILE *file_ptr);

1  –  Argument

 file_ptr

    A file pointer.

2  –  Description

    The ftello function is identical to the ftell function, except
    that the return value is of type off_t instead of long int.

    The off_t data type is either a 64-bit or 32-bit integer. The 64-
    bit interface allows for file sizes greater than 2 GB, and can be
    selected at compile time by defining the _LARGEFILE feature-test
    macro as follows:

    CC/DEFINE=_LARGEFILE
Close Help