logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

PX_write_primary_index — Write primary index into a file

Author

       This manual page was written by Uwe Steinmann uwe@steinmann.cx.

                                                                                       PX_WRITE_PRIMARY_INDEX(3)

Bugs

       This function will only create primary index files with not more than two levels. In general this will be
       sufficient to handle many thousand records.

Description

       Writes  the primary index for the database passed in pxdoc. The primary index file must be created before
       as any Paradox file with PX_create_fp(3) or PX_create_file(3).

Name

       PX_write_primary_index — Write primary index into a file

Return Value

       Returns 0 on success and -1 on failure.

See Also

PX_create_fp(3), PX_create_file(3), PX_read_primary_file(3)

Synopsis

       #include <paradox.h>

       int PX_write_primary_index(pxdoc_t *pxdoc, pxdoc_t *pindexdoc)

See Also