---
name: "PX_close"
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_close"
---

# PX\_close(3)

Closes instance of Paradox file

## NAME

PX\_close — Closes instance of Paradox file

## SYNOPSIS

\#include \<paradox.h\>

void PX\_close(pxdoc\_t \*pxdoc)

## DESCRIPTION

Closes a Paradox file. Do not confuse this function with  **[PX\_delete(3)](/PX_delete/3.md)** which has to be called after  **[PX\_close(3)](/PX_close/3.md)** to free all resources used for  the database. **[PX\_close(3)](/PX_close/3.md)** closes the associated  file if it was opened by pxlib. If the database file was opened with  **[fopen(3)](/fopen/3.md)** it must be closed with  **flcose(3)** by the calling application.

## SEE ALSO

[PX\_new(3)](/PX_new/3.md), [PX\_new2(3)](/PX_new2/3.md), [PX\_open\_file(3)](/PX_open_file/3.md), [PX\_open\_fp(3)](/PX_open_fp/3.md), [PX\_delete(3)](/PX_delete/3.md)

## AUTHOR

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