XStoreName(display, w, window_name)
Display *display;
Window w;
char *window_name;
display | Specifies the connection to the X server. |
w | Specifies the window. |
window_name | Specifies the window name, which should be a null-terminated string. |
XStoreName() can generate BadAlloc and BadWindow errors.
BadAlloc | The server failed to allocate the requested source or server memory. |
BadWindow | A value for a Window argument does not name a defined Window. |