Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!amdcad!ames!hao!boulder!sunybcs!rutgers!mcnc!unc!southard From: southard@unc.cs.unc.edu (Scott Southard) Newsgroups: comp.unix.wizards Subject: Setting process groups Message-ID: <1765@unc.cs.unc.edu> Date: Mon, 26-Oct-87 17:42:44 EST Article-I.D.: unc.1765 Posted: Mon Oct 26 17:42:44 1987 Date-Received: Wed, 28-Oct-87 22:39:47 EST Organization: CS Dept., U. of N. Carolina, Chapel Hill Lines: 10 I am writing a program that creates several child processes, and at some point I would like to kill all the children, but not the parent, with a killpg() call. How do I set the process group id of all the children to the same id, but not to the id used by the parent? Can I just pick a process group id to assign to the children that is different than the one used by the parent? How can I determine what process group id's are not in use? Any help on this would be appreciated. Scott Southard decvax!mcnc!unc!southard