Path: utzoo!attcan!uunet!lll-winken!ncis.llnl.gov!ncis!helios.ee.lbl.gov!nosc!ucsd!ucbvax!agate!eris.berkeley.edu!mellon From: mellon@eris.berkeley.edu (Ted Lemon) Newsgroups: comp.unix.aux Subject: SIGIO Summary: How is it used? Keywords: SIGIO fcntl FASYNC Message-ID: <19222@agate.BERKELEY.EDU> Date: 19 Jan 89 08:16:46 GMT Sender: usenet@agate.BERKELEY.EDU Organization: University of California, Berkeley Lines: 10 I'm trying to do some work with X, and I'd like to get a SIGIO signal whenever there's data available on the X socket. The documentation for sigvec indicates that (a) there is such a signal, and (b) I should read the documentation for fcntl to find out how it works. Reading this documentation indicates that I can use F_SETOWN to indicate where to send the SIGIO signal, but doesn't tell me how to get one in the first place. There doesn't seem to be an FASYNC flag, a la Sun, so I am stymied. How does one use this signal? _MelloN_