PX_write_primary_index(3)

PX_write_primary_index3

Write primary index into a file

Usage

#include <paradox.h>

int PX_write_primary_index(pxdoc_t *pxdoc, pxdoc_t *pindexdoc)

Overview

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).

Return value

Returns 0 on success and -1 on failure.

Releases

11 releases since Debian 3.1 (Sarge); the text changed 5 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7–8
  6. 9–13

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.

Author

This manual page was written by Uwe Steinmann [email protected].

From pxlib-dev 0.6.9-1+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.