Path: utzoo!attcan!uunet!tank!ncar!mailrus!cornell!batcomputer!lynch From: lynch@batcomputer.tn.cornell.edu (Tim Lynch) Newsgroups: comp.sys.hp Subject: problem with compiling tn3270 under HP-UX Keywords: HP-UX tn3270 fcntl F_GETOWN Message-ID: <7588@batcomputer.tn.cornell.edu> Date: 20 Mar 89 17:51:33 GMT Distribution: comp Organization: Theory Center, Cornell U., Ithaca NY Lines: 24 I'm trying to build tn3270 on my 850 running HP-UX 2.1. I've hit a snag with a call to fcntl where the code passes F_GETOWN as the second argument to fcntl. Looking at the man pages for fcntl on a BSD system, I see the following: F_GETOWN gets the process ID or process group currently receiving SIGIO and SIGURG signals; process groups are returned as negative values. F_SETOWN sets the process or process group to receive SIGIO and SIGURG signals; process groups are specified by supplying arg as negative, otherwise arg is inter- preted as a process ID. Is there some equivalent function call I can make under HP-UX to retreive what fcntl(...F_GETOWN...) returns? Alternatively, does someone have a version of tn3270 for HP-UX? Tim Lynch