Is this a possible bug in SunOS setpgrp() ?

Dave Decot decot at hpcupt1.cup.hp.com
Tue Jun 4 10:52:36 AEST 1991


Caution: BSD-derived systems such as SunOS and System V-derived systems (such
as SunOS /-:) have different semantics for the function setpgrp().

In fact, the BSD version has two arguments, whereas the System V version
has no arguments.

Check your documentation carefully.  On POSIX systems, use setpgid()
or setsid() as appropriate to your situation.

Dave



More information about the Comp.unix.programmer mailing list