.TH "PX_CREATE_FILE" "3" .SH "NAME" PX_create_file \(em create a new Paradox file .SH "SYNOPSIS" .PP #include .PP int PX_create_file(pxdoc_t *pxdoc, pxfield_t *fields, int numfields, const char *filename, int type) .SH "DESCRIPTION" .PP Creates a new Paradox database with the given filename. This functions internally calls \fBPX_create_fp(3)\fP after the file was opened. The file is opened in `w+' mode. .PP The table name will be set to the filename be default. It can be overwritten by calling PX_set_parameter(3) afterwards. .SH "RETURN VALUE" .PP Returns 0 on success and \-1 on failure. .SH "SEE ALSO" .PP PX_new2(3), PX_new(3), PX_create_fp(3), PX_set_parameter(3) .SH "AUTHOR" .PP This manual page was written by Uwe Steinmann uwe@steinmann.cx. .\" created by instant / docbook-to-man