PX_update_record(3)

PX_update_record3

Updates an exiting record in the paradox file

Usage

#include <paradox.h>

int PX_update_record(pxdoc_t *pxdoc, pxval_t **data, int recpos)

Overview

Overwrites a record in the database with the data in the array dataptr. The record must be specified by its record number passed as parameter recpos. The first record has number 0.

The memory for dataptr can be freed after PX_update_record has been called.

Check the documentation of PX_insert_record(3) for more information on how to build up the record data

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.