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

# plgdev(3plplot)

Get the current device (keyword) name

## NAME

**plgdev** - Get the current device (keyword) name

## SYNOPSIS

**plgdev**(*p\_dev*)

## DESCRIPTION

Get the current device (keyword) name.  Note: you must have allocated space for this (80 characters is safe).

Redacted form: **plgdev(p\_dev)**

This function is used in example 14.

## ARGUMENTS

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

  Returned ascii character string (with preallocated length of 80 characters or more) containing the device (keyword) 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.
