Query: px_new3
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PX_NEW3(3) Library Functions Manual PX_NEW3(3)NAMEPX_new3 -- create new instance of Paradox fileSYNOPSIS#include <paradox.h> pxdoc_t* PX_new3(void (*errorhandler)(pxdoc_t *p, int type, const char *msg, void *para), void* (*allocproc)(pxdoc_t *p, size_t size, const char *caller), void* (*reallocproc)(pxdoc_t *p, void *mem, size_t size, const char *caller), void (*freeproc)(pxdoc_t *p, void *mem), void *errorhandler_user_data)DESCRIPTIONCreates a new instance of a Paradox file. This function, PX_new(3) or PX_new2(3) must be called before any other functions. If the caller has its own error and memory management functions they can be passed. In opposition to PX_new2(3) this function has an extra parameter errorhandler_user_data which is a pointer to user data which is passed to the error handler function as the fourth parameter. This could be used to pass e.g. a widget pointer where error message are to be output, or a context which otherwise had to passed to the error handler through a global variable.RETURN VALUEReturns a pointer to an internal representation of a Paradox file or NULL on failure.SEE ALSOPX_new(3), PX_new2(3), PX_open_file(3), PX_open_fp(3)AUTHORThis manual page was written by Uwe Steinmann uwe@steinmann.cx. PX_NEW3(3)
Related Man Pages |
---|
px_close(3) - debian |
px_create_fp(3) - debian |
px_get_field(3) - debian |
px_insert_record(3) - debian |
px_put_record(3) - debian |
Similar Topics in the Unix Linux Community |
---|
Zeno's Paradox |