XmGetAtomName man page
XmGetAtomName — A function that returns the string representation for an atom
#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.