"monthd" doesn't terminate

Guy Harris guy at auspex.UUCP
Tue Nov 22 07:26:50 AEST 1988


>+ #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).



More information about the Comp.sources.bugs mailing list