12.07.2015 Views

Xlib − C Language X Interface

Xlib − C Language X Interface

Xlib − C Language X Interface

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Xlib</strong> − C LibraryX11, Release 6.7 DRAFTregistered.To process input on an internal connection, use XProcessInternalConnection.void XProcessInternalConnection(display, fd)Display *display;int fd;displayfdSpecifies the connection to the X server.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 notdefined.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;displayfd_returncount_returnSpecifies the connection to the X server.Returns the file descriptors.Returns the number of file descriptors.The XInternalConnectionNumbers function returns a list of the file descriptors for all internalconnections 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

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!