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

Purpose:    move current record pointer to first record by index

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

Header:     isam.h

Inputs:     db      - database handle
            index   - index handle

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

        ifindhead returns EOI (End Of Index) if there is no first record
        (i.e., if the database is empty).

Returns:
        OK, ERROR, or EOI.

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