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>ifindprev</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Name:       ifindprev

Purpose:    move current record pointer to previous record by index

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

Header:     isam.h

Inputs:     db      - database handle
            index   - index handle

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

        Moving to a previous record is not implemented for the Physical Index.
        It is an error to call ifindprev on the Physical Index.

        ifindprev returns BOI (beginning of index) if there is no previous
        record.

Returns:
        OK, ERROR, or BOI (beginning of index)

See Also: ifindnext ifindhead ifindtail

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