On 16-May-99 Jor-el wrote: > Hi, > > The source code for fvwm95 has the following code in fvwm/misc.h : > >#ifdef HAVE_WAITPID >#define ReapChildren() while ((waitpid(-1, NULL, WNOHANG)) > 0); >#else >#define ReapChildren() while ((wait3(NULL, WNOHANG, NULL)) > 0); >#endif >
Not being a fvwm user and having never compiled it, let me guess here and say that more than likely a configure script detects waitpid and sets this macro.