Path: utzoo!attcan!uunet!auspex!guy From: guy@auspex.UUCP (Guy Harris) Newsgroups: comp.sources.bugs Subject: Re: "monthd" doesn't terminate Keywords: month, exit, sun os3.2 Message-ID: <482@auspex.UUCP> Date: 21 Nov 88 21:26:50 GMT References: <1252@leah.Albany.Edu> <115@cancol.oz> <116@cancol.oz> Reply-To: guy@auspex.UUCP (Guy Harris) Organization: Auspex Systems, Santa Clara Lines: 16 >+ #ifdef SYS5 > setpgrp(0, parent_pid); > #endif > #endif >+ #endif "setpgrp" takes no arguments in a vanilla System V system; it establishes a brand-new process group and makes the invoking process the first member. It also detaches the process from its current controlling terminal, if it has one and it was not a process group leader when it executed "setpgrp". Of course, that has nothing to do with SunOS 3.2, since it doesn't fully support S5-style process group semantics (SunOS 4.0 supports them to the maximum extent possible, given that it also has to support 4.3BSD-style process group semantics).