---
name: "rdma_event_str"
section: "3"
platform: "linux"
package: "rdma-core"
version: "65.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux", "freebsd"]
url: "https://new.carta.tech/rdma_event_str"
---

# rdma\_event\_str(3)

Returns a string representation of an rdma cm event.

## NAME

rdma\_event\_str - Returns a string representation of an rdma cm event.

## SYNOPSIS

**#include \<rdma/rdma\_cma.h\>**

**char \* rdma\_event\_str** **(***enum***rdma\_cm\_event\_type** *event* **);"**

## ARGUMENTS

- event

  Asynchronous event.

## DESCRIPTION

Returns a string representation of an asynchronous event.

## RETURN VALUE

Returns a pointer to a static character string corresponding to the event.

## SEE ALSO

[rdma\_get\_cm\_event(3)](/rdma_get_cm_event/3.md)
