On Wed, Sep 17, 2014 at 12:54 PM, Matti Karnaattu <mkarnaa...@gmail.com> wrote: >>As far as POSIX goes, setpgrp is spelled setpgid. >>Let's just replaces the instances of setpgrp() in the tree with >>setpgid() and be done with it. > > I just noted, that it was marked obsolescent in latest POSIX version. > > To make it unified with signal.h interface, it should be removed.from > unistd.h.
No, it just shouldn't be present when a conforming environment is requested. I've fixed <unistd.h.> to exclude it when you ask for an XSI conforming environment by building with _XOPEN_SOURCE defined. (Not sure what about <signal.h> you're referring to there...) Philip Guenther