GPAK  1.0.0
A general-purpose archive library

◆ gpak_feof()

GPAK_API long gpak_feof ( gpak_file_t _file)
Brief Description:\n Checks if the end of a G-PAK file has been reached.

This function returns a non-zero value if the end of the specified G-PAK file has been reached.

Parameters
_fileA pointer to the gpak_file_t.
Returns
A non-zero value if the end of the file is reached, or zero otherwise.

Definition at line 465 of file gpak.c.

466 {
467  return feof(_file->stream_);
468 }
FILE * stream_
Definition: gpak_data.h:285

References gpak_file::stream_.