GPAK  1.0.0
A general-purpose archive library

◆ gpak_ftell()

GPAK_API long gpak_ftell ( gpak_file_t _file)
Brief Description:\n Returns the current position in a G-PAK file.

This function returns the current position in the specified G-PAK file.

Parameters
_fileA pointer to the gpak_file_t.
Returns
The current position in the file or -1 if an error occurred.

Definition at line 455 of file gpak.c.

456 {
457  return ftell(_file->stream_);
458 }
FILE * stream_
Definition: gpak_data.h:285

References gpak_file::stream_.