3 * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
6 * Redistribution and use in source and binary forms are permitted only
7 * as authorized by the OpenLDAP Public License. A copy of this
8 * license is available at http://www.OpenLDAP.org/license.html or
9 * in file LICENSE in the top-level directory of the distribution.
15 #include <sys/types.h>
18 # include <sys/wait.h>
22 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
25 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
29 # define WAIT_FLAGS ( WNOHANG | WUNTRACED | WCONTINUED )
31 # define WAIT_FLAGS ( WNOHANG | WUNTRACED )
34 #endif /* _AC_WAIT_H */