(Illustration by Gaich Muramatsu)
Jan says: Now that is interesting, because according to my manual pages, 'int setpgrp(void)' is originally from 4.2BSD. I wonder if I should just change to using the equivalent, but POSIX defined setpgid(0,0). From the NetBSD man page: STANDARDS The setpgid() function conforms to ISO/IEC 9945-1:1990 (``POSIX.1''). COMPATIBILITY setpgrp() is identical to setpgid(), and is retained for calling conven- tion compatibility with historical versions of BSD. In general, I'd say write to posix and let people with non-posix systems submit workarounds. I suspect setpgrp was 1 arg in 4.2 and changed to 2 by 4.4.Received on 2006-11-20 10:33:22