---
name: "PS_include_file"
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_include_file"
---

# PS\_include\_file(3)

Include external PostScript file

## NAME

PS\_include\_file — Include external PostScript file

## SYNOPSIS

\#include \<pslib.h\>

int PS\_include\_file(PSDoc \*psdoc, const char \*filename)

## DESCRIPTION

Reads an external file with raw PostScript code.

## RETURN VALUE

Returns -1 in case of error and otherwise 0.

## SEE ALSO

[PS\_begin\_page(3)](/PS_begin_page/3.md), [PS\_end\_page(3)](/PS_end_page/3.md)

## AUTHOR

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