---
name: "XmGetAtomName"
section: "3"
platform: "linux"
package: "openmotif"
version: "2.3.8-4"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/XmGetAtomName"
---

# XmGetAtomName(3)

A function that returns the string representation for an atom

## NAME

**XmGetAtomName** — A function that returns the string representation for an atom

## SYNOPSIS

```
#include <Xm/Xm.h>
#include <Xm/AtomMgr.h>
String XmGetAtomName(
Display * display,
Atom atom);
```

## DESCRIPTION

**XmGetAtomName** returns the string representation for an atom. It mirrors the *Xlib* interfaces for atom management but provides client-side caching. When and where caching is provided in *Xlib*, the routines will become pseudonyms for the *Xlib* routines.

- *display*

  Specifies the connection to the X server

- *atom*

  Specifies the atom for the property name you want returned

## RETURN

Returns a string. The function allocates space to hold the returned string. The application is responsible for managing the allocated space. The application can recover the allocated space by calling **XFree**.
