---
name: "rpma_err_2str"
section: "3"
platform: "linux"
package: "librpma-dev"
version: "1.3.0-2+b3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/rpma_err_2str"
---

# rpma\_err\_2str(3)

convert RPMA error code to a string

## NAME

**rpma\_err\_2str** - convert RPMA error code to a string

## SYNOPSIS

```
      #include <librpma.h>
      const char *rpma_err_2str(int ret);
```

## DESCRIPTION

**rpma\_err\_2str**() returns the const string representation of RPMA error codes.

## ERRORS

**rpma\_err\_2str**() can not fail.

## SEE ALSO

[**librpma**(7)](/librpma/7.md) and https://pmem.io/rpma/
