Path: utzoo!news-server.csri.toronto.edu!rutgers!uwm.edu!cs.utexas.edu!uunet!uunet.UU.NET!sef From: steve@unidata.ucar.edu (Steve Emmerson) Newsgroups: comp.std.unix Subject: how to set process group on socket Message-ID: <125384@uunet.UU.NET> Date: 12 Mar 91 00:19:27 GMT Sender: usenet@uunet.UU.NET Organization: University Corporation for Atmospheric Research (UCAR) Lines: 19 Approved: sef@uunet.uu.net (Moderator, Sean Eric Fagan - comp.std.unix) Nntp-Posting-Host: uunet.uu.net X-Submissions: std-unix@uunet.uu.net Originator: sef@uunet.UU.NET Submitted-by: steve@unidata.ucar.edu (Steve Emmerson) Greetings, How would one do the equivalent of the following, BSD-ism: ioctl(fd, SIOCSPGRP, &pid); That is, in a POSIX environment, how does one set the process-group ID of processes that will receive SIGIO and SIGURG signals associated with a particular file-descriptor (which, incidentally, is a socket) to the PID of the current process. Can one use the tc*() function? Steve Emmerson steve@unidata.ucar.edu ...!ncar!unidata!steve Volume-Number: Volume 23, Number 7