Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- C/Database Toolchest Library - name: <b>ifindtail</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Name:       ifindtail

Purpose:    move current record pointer to last record by index

Prototype:  int ifindtail(Db_Obj *db, Index_Obj *index);

Header:     isam.h

Inputs:     db      - database handle
            index   - index handle

Description:
        ifindtail moves the file cursor (current record pointer) of the
        database db to teh record associated with the last entry in the
        index.

        Moving to the last record is not implemented for the Physical Index.
        It is an error to call ifindtail on the Physical Index.

        ifindtail returns BOI (beginning of index) if there is no tail
        record (i.e., if the database is empty).

Returns:
        OK, ERROR, or BOI.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson