Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/12/84; site nbs-amrf.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!umcp-cs!nbs-amrf!libes From: libes@nbs-amrf.UUCP (Don Libes) Newsgroups: net.unix-wizards Subject: Re: Can't seem to generate SIGIO. What's the trick? Message-ID: <90@nbs-amrf.UUCP> Date: Mon, 9-Dec-85 18:40:04 EST Article-I.D.: nbs-amrf.90 Posted: Mon Dec 9 18:40:04 1985 Date-Received: Wed, 11-Dec-85 10:14:29 EST References: <86@nbs-amrf.UUCP> Distribution: net Organization: National Bureau of Standards Lines: 17 > Ok, I give up. What's the trick to getting a SIGIO signal? Thanks very much to Bill Shannon (sun!shannon) for giving me the missing piece. His reply was: You need to do fcntl(fd, F_SETOWN, getpid()); to set the owner of the fd to you so you'll be the one to get the SIGIO. I refuse to admit how much time I spent reading and rereading the manual looking for the solution. I think I'll mark the spot in my manual where this is so clearly documented with a large ax. Don Libes {seismo,umcp-cs}!nbs-amrf!libes