Thread View: comp.std.unix
2 messages
2 total messages
Started by Steve Emmerson
Tue, 12 Mar 1991 00:19
how to set process group on socket
Author: Steve Emmerson
Date: Tue, 12 Mar 1991 00:19
Date: Tue, 12 Mar 1991 00:19
19 lines
1129 bytes
1129 bytes
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
Re: how to set process group on socket
Author: Dave Decot
Date: Sat, 16 Mar 1991 01:16
Date: Sat, 16 Mar 1991 01:16
20 lines
1263 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads