[comp.windows.x] How to obtain file descriptors from X applications?

baur@spp2.UUCP (Steven L. Baur) (02/26/89)

I am writing an application that reads out of multiple file descriptors
via the select(2) system call and need to integrate X windows applications
to it.  What I need to do is add file descriptors used by X windows to my
select system call.
What are the method(s) for finding out the filedescriptors opened
by Xlib, Xtoolkit on behalf of the application?
I am not trying to do the actual read, but the select call must be in my
code.  Alternatively, is there an X interface similar to the SunView
interface that allows code to be called when the itimer expires or input
is ready on a file descriptor?

steve   uunet!wiley!spp2!baur