Query: px_write_primary_index
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PX_WRITE_PRIMARY_INDEX(3) Library Functions Manual PX_WRITE_PRIMARY_INDEX(3)NAMEPX_write_primary_index -- Write primary index into a fileSYNOPSIS#include <paradox.h> int PX_write_primary_index(pxdoc_t *pxdoc, pxdoc_t *pindexdoc)DESCRIPTIONWrites the primary index for the database passed in pxdoc. The primary index file must be created before as any Paradox file with PX_cre- ate_fp(3) or PX_create_file(3).RETURN VALUEReturns 0 on success and -1 on failure.BUGSThis function will only create primary index files with not more than two levels. In general this will be sufficient to handle many thou- sand records.SEE ALSOPX_create_fp(3), PX_create_file(3), PX_read_primary_file(3)AUTHORThis manual page was written by Uwe Steinmann uwe@steinmann.cx. PX_WRITE_PRIMARY_INDEX(3)