sStatus XGetAtomNames(display, atoms, count, names_return)
Display *display;
Atom *atoms;
int count;
char **names_return;
| display | Specifies the connection to the X server. |
| atoms | Specifies the array of atoms. |
| count | Specifies the number of atoms in the array. |
| names_return | Returns the atom names. |
This function returns a nonzero status if names are returned for all of the atoms; otherwise, it returns zero.
XGetAtomNames() can generate a BadAtom error.
| BadAtom | A value for an Atom argument does not name a defined Atom. |