home *** CD-ROM | disk | FTP | other *** search
- #include <stdio.h>
- #include "pxengine.h"
-
- main(void)
- {
- int pxErr;
-
- /* Prepare Engine for initialization using maximum buffer
- size, maximum allowable number of tables, locks and
- files. Leave maxRecBufs and sortOrder at their present
- value. */
- if ((pxErr = PXSetDefaults(MAXSWAPSIZE,MAXTABLEHANDLES,PXDEFAULT,
- MAXLOCKHANDLES,MAXFILEHANDLES,
- PXDEFAULT)) != PXSUCCESS)
- printf("%s\n",PXErrMsg(pxErr));
-
- /* Call PXInit with new default values */
- PXInit();
- PXExit();
- return(pxErr);
- }