registered.
To process input on an internal connection, use XProcessInternalConnection.
void XProcessInternalConnection(display, fd)
Display *display;
int fd;
| |
display | Specifies the connection to the X server. |
fd | Specifies the file descriptor. |
The XProcessInternalConnection function processes input available on an internal connection.
This function should be called for an internal connection only after an operating system facility (for example, select or poll) has indicated that input is available; otherwise, the effect is not defined.
To obtain all of the current internal connections for a display, use XInternalConnectionNumbers.
Status XInternalConnectionNumbers(display, fd_return, count_return)
Display *display;
int **fd_return;
int *count_return;
| |
display | Specifies the connection to the X server. |
fd_return | Returns the file descriptors. |
count_return | Returns the number of file descriptors. |
The XInternalConnectionNumbers function returns a list of the file descriptors for all internal connections currently open for the specified display. When the allocated list is no longer needed, free it by using XFree. This functions returns a nonzero status if the list is successfully allocated; otherwise, it returns zero.
30