PX_delete_record(3)

PX_delete_record3

Removes a record from a paradox file

Usage

#include <paradox.h>

int PX_delete_record(pxdoc_t *pxdoc, int recpos)

Overview

Removes the record with number recpos from the Paradox file. The first record has number 0. The data of the record will be wiped out, making it impossible to reconstruct it later. The data block where the record was stored is reconstruct to make sure all records are at the beginning of the data block followed by the free space.

Calls of PX_insert_record(3) will use the first datablock with free space and add the new record after the records in the data block.

Return value

Returns 0 on success or -1 on failure.

Releases

10 releases since Debian 4.0 (Etch); the text changed 4 times.

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

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.