process group of tty**

usenet news administrator news at zardoz.cpd.com
Tue Mar 27 03:34:14 AEST 1990


I have a program that needs to be able to send a HUP signal to the
process group associated with the tty side of a tty/pty pair.  The
program has the pty side opened as a file, and knows the ascii file
name of the tty side.  If it could find out the process group, it
could use killpg().  Alternately, if it could find out the process id
of the controlling process (the one that originally opened the tty
side as a file, it could send the signal using kill().  HELP !!!!!


-- 
Neil Gorsuch        INTERNET: neil at cpd.com          UUCP: uunet!zardoz!neil
MAIL: 1209 E. Warner, Santa Ana, CA, USA, 92705     PHONE: +1 714 546 1100
Uninet, a division of Custom Product Design, Inc.   FAX: +1 714 546 3726
AKA: root, security-request, uuasc-request, postmaster, usenet, news



More information about the Comp.unix.wizards mailing list