logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

PX_create_file — create a new Paradox file

Author

       This manual page was written by Uwe Steinmann uwe@steinmann.cx.

                                                                                               PX_CREATE_FILE(3)

Description

       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.

Name

       PX_create_file — create a new Paradox file

Return Value

       Returns 0 on success and -1 on failure.

See Also

PX_new2(3), PX_new(3), PX_create_fp(3), PX_set_parameter(3)

Synopsis

       #include <paradox.h>

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

See Also