---
name: "PX_open_gsf"
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_open_gsf"
---

# PX\_open\_gsf(3)

read a Paradox file

## NAME

PX\_open\_gsf — read a Paradox file

## SYNOPSIS

\#include \<paradox-gsf.h\>

int PX\_open\_gsf(pxdoc\_t \*pxdoc, GsfInput \*gsf)

## DESCRIPTION

Reads a Paradox file previously opened with the gsf library.  pxdoc must be created before with [PX\_new(3)](/PX_new/3.md) or [PX\_new2(3)](/PX_new2/3.md).  This function is only available if pxlib has been configured with  gsf support.

## RETURN VALUE

Returns 0 on success and -1 on failure.

## SEE ALSO

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

## AUTHOR

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