Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

px_get_field(3) [debian man page]

PX_GET_FIELD(3) 					     Library Functions Manual						   PX_GET_FIELD(3)

NAME
PX_get_field -- Returns single field definition in Paradox file SYNOPSIS
#include <paradox.h> pxfield_t *PX_get_field(pxdoc_t *pxdoc, int fieldno) DESCRIPTION
Returns the meta data of the field with the given number in a Paradox file. The first field has number 0, the last one has num- ber_of_fields-1. pxfield_t is defined as typedef struct px_field pxfield_t; struct px_field { char *px_fname; char px_ftype; int px_flen; int px_fdc; }; The meaning of px_ftype is as following: Values and meaning of px_ftype Value Meaning pxfAlpha T{ Character string with a maximum of px_flen charackters. T} pxfDate pxfShort Short interger (16 Bit) pxfLong Long Integer (32 Bit) pxfCurrency pxfNumber pxfLogical pxfMemoBLOb pxfBLOb pxfFmtMemoBLOb pxfOLE pxfGraphic pxfTime pxfTimestamp pxfAutoInc pxfBCD pxfBytes Array of bytes. RETURN VALUE
Returns pointer to field on success and NULL on failure. SEE ALSO
PX_get_record(3), PX_get_fields(3) AUTHOR
This manual page was written by Uwe Steinmann uwe@steinmann.cx. PX_GET_FIELD(3)

Check Out this Related Man Page

PX_NEW2(3)						     Library Functions Manual							PX_NEW2(3)

NAME
PX_new2 -- create new instance of Paradox file SYNOPSIS
#include <paradox.h> pxdoc_t* PX_new2(void (*errorhandler)(pxdoc_t *p, int type, const char *msg, void *data), 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)) DESCRIPTION
Creates a new instance of a Paradox file. This function, PX_new(3) or PX_new3(3) must be called before any other functions. If the caller has its own error and memory management functions they can be passed. Calling PX_new2(3) is identical to calling PX_new3(3) with the last parameter set to NULL. RETURN VALUE
Returns a pointer to an internal representation of a Paradox file or NULL on failure. SEE ALSO
PX_new(3), PX_new3(3), PX_open_file(3), PX_open_fp(3) AUTHOR
This manual page was written by Uwe Steinmann uwe@steinmann.cx. PX_NEW2(3)
Man Page