version 1.20, 2014/10/08 04:10:47 |
version 1.21, 2015/01/16 06:40:13 |
|
|
* SUCH DAMAGE. |
* SUCH DAMAGE. |
*/ |
*/ |
|
|
#include <sys/param.h> |
|
|
|
#include <ctype.h> |
#include <ctype.h> |
#include <err.h> |
#include <err.h> |
#include <curses.h> |
#include <curses.h> |
|
|
#include <stdlib.h> |
#include <stdlib.h> |
#include <termios.h> |
#include <termios.h> |
#include <unistd.h> |
#include <unistd.h> |
|
#include <limits.h> |
#include <string.h> |
#include <string.h> |
|
|
|
#define MAXIMUM(a, b) (((a) > (b)) ? (a) : (b)) |
|
|
#include <sys/wait.h> |
#include <sys/wait.h> |
|
|
static void init(void); |
static void init(void); |
|
|
} |
} |
} |
} |
} |
} |
arg_need = MAX(arg_need, popcount); |
arg_need = MAXIMUM(arg_need, popcount); |
if (arg_need > 9) |
if (arg_need > 9) |
errx(2, "too many arguments (%d) for capability `%s'", |
errx(2, "too many arguments (%d) for capability `%s'", |
arg_need, cap); |
arg_need, cap); |