🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.unix
Article #791

Re: how to set process group on socket

#791
From: Dave Decot
Date: Sat, 16 Mar 1991 01:16
20 lines
1263 bytes
Submitted-by: decot@hpisod2.cup.hp.com (Dave Decot)

> 	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.

POSIX.1 has no such signals SIGIO or SIGURG, nor any sockets, nor do
any of the current drafts of other POSIX standards.

The current POSIX.4 draft describes ways to signal asynchronous I/O
completion, but the signals currently go only to the process that
started the I/O.

Dave Decot


Volume-Number: Volume 23, Number 15
Technical Details
Message-ID: <125755@uunet.UU.NET>
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!spool.mu.edu!uunet!uunet.UU.NET!sef
References: <125384@uunet.UU.NET>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!spool.mu.edu!uunet!uunet.UU.NET!sef
From: decot@hpisod2.cup.hp.com (Dave Decot)
Newsgroups: comp.std.unix
Subject: Re: how to set process group on socket
Message-ID: <125755@uunet.UU.NET>
Date: 16 Mar 91 01:16:31 GMT
References: <125384@uunet.UU.NET>
Sender: usenet@uunet.UU.NET
Organization: Hewlett Packard, Cupertino
Lines: 20
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