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

Purpose:    remember current record by index

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

Header:     isam.h

Inputs:     db      - database handle
            index   - index handle

Description:
        imarkrec marks the current record of the index in the database
        db.  This record can be made the current record later by calling
        ifindmark.  The mark stays on this record until you move it with
        imarkrec (unless you delete or modify this record; see below).
        There is only one mark per index, so that if you call imarkrec
        again before calling ifindmark, the first mark is forgotten.

        If you delete a marked record, the mark is moved to the next record
        after the deleted one.

        If you modify a marked record, the mark is more to the next record
        after the original record.

        It is permitted to mark BOI (beginning of index) or EOI (end of
        index).

        Marks are not implemented for the Physical Index.  It is an error to
        try to mark a record in the Physical Index.

Returns:
        OK or ERROR

See Also: ifindmark

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