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

# PS\_get\_opaque(3)

Returns pointer which has been passed to PS\_new2()

## NAME

PS\_get\_opaque — Returns pointer which has been passed to PS\_new2()

## SYNOPSIS

\#include \<pslib.h\>

void \* PS\_get\_opaque(PSDoc \*psdoc)

## DESCRIPTION

When creating a new document with [PS\_new2(3)](/PS_new2/3.md), one can pass  user data which is stored internally and passed to every call of  the errorhandler. This data can be later retrieved with this  function.

## RETURN VALUE

The pointer which has been passed to PS\_new2().

## SEE ALSO

[PS\_new2(3)](/PS_new2/3.md)

## AUTHOR

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