---
name: "PX_get_fields"
section: "3"
platform: "linux"
package: "pxlib-dev"
version: "0.6.9-1+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/PX_get_fields"
---

# PX\_get\_fields(3)

Returns array of field definitions in Paradox file

## NAME

PX\_get\_fields — Returns array of field definitions in Paradox file

## SYNOPSIS

\#include \<paradox.h\>

pxfield\_t \*PX\_get\_fields(pxdoc\_t \*pxdoc)

## DESCRIPTION

Returns the meta data of all fields. This function is  identical to the call of [PX\_get\_field(3)](/PX_get_field/3.md) with a record number 0,  but you should for further releases not rely on it.  Sie [PX\_get\_field(3)](/PX_get_field/3.md) for a definition of pxfield\_t.

## RETURN VALUE

Returns pointer to field array on success and NULL on failure.

## SEE ALSO

[PX\_get\_record(3)](/PX_get_record/3.md), [PX\_get\_field(3)](/PX_get_field/3.md)

## AUTHOR

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