DOKK / manpages / debian 11 / libmotif-dev / XmGetAtomName.3.en
XmGetAtomName(3) Library Functions Manual XmGetAtomName(3)

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

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

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.

Specifies the connection to the X server
Specifies the atom for the property name you want returned

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.