lkml.org 
[lkml]   [1999]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: HAVE_WAITPID
Date
On Sun, 16 May 1999 10:27:43 -0500 (CDT), 
Kenneth Stephen <pgmr@ibm.net> wrote:
>#ifdef HAVE_WAITPID
>#define ReapChildren() while ((waitpid(-1, NULL, WNOHANG)) > 0);
>#else
>#define ReapChildren() while ((wait3(NULL, WNOHANG, NULL)) > 0);
>#endif
>
> What is the status of the HAVE_WAITPID macro?

99.99% of the time, a symbol starting with HAVE_ is defined by some
configuration tool. Sometimes it is in the Makefile, more often it is
generated when you run ./configure in the top level source directory.
It has nothing to do with the kernel and everything to do with testing
what your run time user space libraries support. Try "info autoconf".


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.028 / U:1.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site