Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!apple!motcsd!hpda!hpcuhb!hpindda!klaas From: klaas@hpindda.HP.COM (Darin Klaas) Newsgroups: comp.sys.hp Subject: Re: SIGIO trapping on sockets Message-ID: <4310047@hpindda.HP.COM> Date: 12 Jul 89 19:18:42 GMT References: <0YhtNPq00hMN1WJkwu@cs.cmu.edu> Organization: HP Information Networks, Cupertino, CA Lines: 15 / hpindda:comp.sys.hp / Daniel.Stodolsky@cs.cmu.edu / 11:15 am Jul 9, 1989 / > In an X application, in need to trap SIGIO on sockets. On a hp 835 (OS > v. 3.10), the ioctl call for FIOASYNC succedes, but FIOSSAIOSTAT fail, > The berkley fcntl call with F_SETOWN appears to be nonexistent. > Any suggestions? I can't find my 4.3BSD documentation anywhere handy, so I can't explain FIOSSAIOSTAT. We don't implement F_SETOWN per se; use SIOCSPGRP to set the process group. Note that the value you pass to this ioctl is different than in BSD, i.e. the sign is reversed, which is the same as other uses of SIOCSPGRP withing HP-UX. This should be documented in the socket(7) man page and the BSDIPC programmers guide. -- darin