XGetErrorText(display, code, buffer_return, length)
Display *display;
int code;
char *buffer_return;
int length;
| display | Specifies the connection to the X server. |
| code | Specifies the error code for which you want to obtain a description. |
| buffer_return | Returns the error description. |
| length | Specifies the size of the buffer. |