Path: utzoo!utgpu!watserv1!watmath!maytag!vlsi!ccng!maxwell!gordon From: gordon@maxwell.waterloo.edu (Gordon R. Strachan) Newsgroups: comp.sys.hp Subject: Getting SIGIO from an input stream Message-ID: <500@ccng.waterloo.edu> Date: 29 Jan 90 21:47:22 GMT Sender: daemon@ccng.waterloo.edu Reply-To: gordon@maxwell.waterloo.edu (Gordon R. Strachan) Distribution: na Organization: University of Waterloo, Waterloo Ont. Lines: 18 I am trying to port a BSD program to hp-ux that makes extensive use of the fcntl parameter F_SETOWN. Supposedly this will cause a SIGIO signal to be sent everytime there is input available in the input stream. Naturally hp-ux does not support this option but according to termio(7) there is a similar ioctl command I can use. According to the man pages the command FIOSSAIOSTAT should enable SIGIO to be sent to the process whose id is set in the FIOSSAIOOWN command. Fine, this seem to be what I want but when I use the commands the compiler complains that it is an undefined variable. Indeed none of the Asynchronous I/O commands for ioctl are anywhere to be found in any of the include files!! So the question which include file is supposed to contain FIOSSAIOSTAT and FIOSSAIOOWN? If they are supposed to be in could someone send me a new version because they are not in mine. Thank you in advance Gordon Strachan