.TH "PX_READ_PRIMARY_INDEX" "3" .SH "NAME" PX_read_primary_index \(em Reads the primary index into an internal buffer .SH "SYNOPSIS" .PP #include .PP int PX_read_primary_index(pxdoc_t *pindexdoc) .SH "DESCRIPTION" .PP Reads the complete primary index into an internal buffer. After calling this function successfully you usually add the index to a database file by calling PX_add_primary_index(3). Once the index is read and associated with a database file, it will be used when record data is accessed. .SH "RETURN VALUE" .PP Returns 0 on success and \-1 on failure. .SH "SEE ALSO" .PP PX_add_primary_index(3) .SH "AUTHOR" .PP This manual page was written by Uwe Steinmann uwe@steinmann.cx. .\" created by instant / docbook-to-man