---
name: "PR_GET_DUMPABLE"
section: "2const"
platform: "linux"
package: "man-pages"
version: "6.19-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/PR_GET_DUMPABLE"
---

# PR\_GET\_DUMPABLE(2const)

get the "dumpable" attribute of the calling process

## NAME

PR\_GET\_DUMPABLE - get the "dumpable" attribute of the calling process

## LIBRARY

Standard C library (*libc*, *-lc*)

## SYNOPSIS

```
#include <linux/prctl.h>  /* Definition of PR_* constants */
#include <sys/prctl.h>
```

**int prctl(PR\_GET\_DUMPABLE);**

## DESCRIPTION

Return the current state of the calling process's "dumpable" attribute. See [**PR\_SET\_DUMPABLE**(2const)](/PR_SET_DUMPABLE/2const.md).

## RETURN VALUE

On success, return the value described above. On error, -1 is returned, and *errno* is set to indicate the error.

## STANDARDS

Linux.

## HISTORY

Linux 2.3.20.

## SEE ALSO

[**prctl**(2)](/prctl/2.md), [**PR\_SET\_DUMPABLE**(2const)](/PR_SET_DUMPABLE/2const.md)
