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

# PX\_open\_fp(3)

read a Paradox file

## NAME

PX\_open\_fp — read a Paradox file

## SYNOPSIS

\#include \<paradox.h\>

int PX\_open\_fp(pxdoc\_t \*pxdoc, FILE \*fp)

## DESCRIPTION

Reads a Paradox file with the given file pointer which must have  been opened before with [fopen(3)](/man/fopen/3.md). pxdoc must be  created before with [PX\_new(3)](/man/PX_new/3.md) or [PX\_new2(3)](/man/PX_new2/3.md).

## RETURN VALUE

Returns 0 on success and -1 on failure.

## SEE ALSO

[PX\_new2(3)](/man/PX_new2/3.md), [PX\_new(3)](/man/PX_new/3.md), [PX\_open\_file(3)](/man/PX_open_file/3.md), [PX\_open\_gsf(3)](/man/PX_open_gsf/3.md)

## AUTHOR

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