equal
deleted
inserted
replaced
|
1 #ifndef authwait_h |
|
2 #define authwait_h |
|
3 |
|
4 /* |
|
5 ** Copyright 1998 - 1999 Double Precision, Inc. See COPYING for |
|
6 ** distribution information. |
|
7 */ |
|
8 |
|
9 #if HAVE_CONFIG_H |
|
10 #include "config.h" |
|
11 #endif |
|
12 |
|
13 static const char authwait_h_rcsid[]="$Id: authwait.h,v 1.1 2000/04/13 17:55:05 bruce Exp $"; |
|
14 |
|
15 #include <sys/types.h> |
|
16 #if HAVE_SYS_WAIT_H |
|
17 #include <sys/wait.h> |
|
18 #endif |
|
19 #ifndef WEXITSTATUS |
|
20 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
|
21 #endif |
|
22 #ifndef WIFEXITED |
|
23 #define WIFEXITED(stat_val) (((stat_val) & 255) == 0) |
|
24 #endif |
|
25 |
|
26 #endif |