PX_create_file
create a new Paradox file
- Provided by: pxlib-dev (Version: 0.6.5-1.1)
- Source: pxlib
- Report a bug
create a new Paradox file
#include <paradox.h>
int PX_create_file(pxdoc_t *pxdoc, pxfield_t *fields, int numfields, const char *filename, int type)
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.
Returns 0 on success and -1 on failure.
This manual page was written by Uwe Steinmann uwe@steinmann.cx.