RE: HAVE_WAITPID

1999-05-17 Thread Shaleh
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, N

HAVE_WAITPID

1999-05-16 Thread Jor-el
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 Now linux (atleast, for 2.0.36) doe