---
name: "plgfnam"
section: "3plplot"
platform: "linux"
package: "plplot-doc"
version: "5.15.0+dfsg2-15"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/plgfnam"
---

# plgfnam(3plplot)

Get output file name

## NAME

**plgfnam** - Get output file name

## SYNOPSIS

**plgfnam**(*fnam*)

## DESCRIPTION

Gets the current output file name, if applicable.

Redacted form: **plgfnam(fnam)**

This function is used in example 31.

## ARGUMENTS

- *fnam* (**PLCHAR\_NC\_VECTOR**(3plplot), output)

  Returned ascii character string (with preallocated length of 80 characters or more) containing the file name.

## AUTHORS

Many developers (who are credited at http://plplot.org/credits.php) have contributed to PLplot over its long history.

## SEE ALSO

PLplot documentation at http://plplot.org/documentation.php.
