XGetAtomName(3X) XLIB FUNCTIONS XGetAtomName(3X)
NAME
XGetAtomName - returns the name associated with the specified atom
SYNTAX
P char *XGetAtomName(display, atom)
Display *display;
Atom atom;
ARGUMENTS
display Specifies the connection to the X server.
atom Specifies the atom for the property name you want returned.
DESCRIPTION
The XGetAtomName function returns the name associated with the specified atom. If the data returned by the server is in the Latin Portable
Character Encoding, then the returned string is in the Host Portable Character Encoding. Otherwise, the result is implementation depen-
dent. To free the resulting string, call XFree.
XGetAtomName can generate a BadAtom error.
DIAGNOSTICS
BadAlloc The server failed to allocate the requested resource or server memory.
BadAtom A value for an Atom argument does not name a defined Atom.
BadValue Some numeric value falls outside the range of values accepted by the request. Unless a specific range is specified for an argu-
ment, the full range defined by the argument's type is accepted. Any argument defined as a set of alternatives can generate this
error.
SEE ALSO
XInternAtom(3X), XInternAtoms(3X), XGetAtomNames(3X)
X Version 11 Release 6 XGetAtomName(3X)