Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!hsdndev!cmcl2!polyof!korfhage From: korfhage@polyof.poly.edu (A1 willard korfhage (cs) ) Newsgroups: comp.sys.hp Subject: Porting a program from Sun: async I/O under hp-ux? Message-ID: <1990Dec4.000843.1500@polyof.poly.edu> Date: 4 Dec 90 00:08:43 GMT Organization: Polytechnic University Lines: 23 I just got a couple 400t workstations, running hp-ux 7.03, and I trying to port an application that currently runs on Suns and RS6000's. Hp-ux doesn't have the same calls for asynchronous I/O as Suns, and I would appreciate it if someone could give me a push in the right direction to fix it. My problem is that the program makes these calls: fcntl(fd, F_SETFL, FASYNC) and fcntl(fd, F_SETOWN, getpid()) FASYNC and F_SETOWN aren't defined for hp-ux. Basically, the program is setting up asynchronous I/O to receive rpc calls and to communication with some processes running windows. I noticed that there are some 4.2bsd compatible calls for signals, but I am not sure how they fit into the scheme of things, if at all. Thanks for any help. Willard P.S. It was semi-amusing to read in the HP-UX Portability Guide that the chapter about porting 4.3bsd to HP-UX consists of a single line stating "No information known..." Not very helpful.