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

Purpose:    show description of an index to stdout

Prototype:  int showdesc(Db_Obj       *db,
                         Index_Obj    *index,
                         char         *separator);

Header:     isam.h

Inputs:     db          - database handle
            index       - index handle
            separator   - field separator string or NULL for new line

Description:
        showdesc prints the description of the index in the database
        db.  The index description is a list of the names of the key
        fields, in order, that make up the index.

        The names of the key fields are printed with teh string separator
        separating the names.  If the separator is NULL, each key field
        begins a new line.  Note that separator is a string (character
        array), not just a single character.

        The index description of the Physical Index is just a list of all the
        fields that make up a record.

Returns:
        Returns OK and prints to stdout, or ERROR

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