PX_create_file(3)

PX_create_file3

Create a new paradox file

Usage

#include <paradox.h>

int PX_create_file(pxdoc_t *pxdoc, pxfield_t *fields, int numfields, const char *filename, int type)

Overview

Creates a new Paradox database with the given filename. This functions internally calls PX_create_fp(3) after the file was opened. The file is opened in `w+' mode.

The table name will be set to the filename be default. It can be overwritten by calling PX_set_parameter(3) afterwards.

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

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.