Return to arch.c CVS log | Up to [local] / src / usr.bin / arch |
version 1.14, 2015/02/08 23:40:34 | version 1.15, 2015/09/23 22:01:30 | ||
---|---|---|---|
|
|
||
#include <sys/param.h> /* MACHINE MACHINE_ARCH */ | #include <sys/param.h> /* MACHINE MACHINE_ARCH */ | ||
#include <err.h> | |||
#include <locale.h> | #include <locale.h> | ||
#include <stdio.h> | #include <stdio.h> | ||
#include <stdlib.h> | #include <stdlib.h> | ||
|
|
||
usage(); | usage(); | ||
/* NOTREACHED */ | /* NOTREACHED */ | ||
} | } | ||
if (!short_form) { | if (!short_form) | ||
fputs("OpenBSD", stdout); | fputs("OpenBSD.", stdout); | ||
fputc('.', stdout); | puts(arch); | ||
} | return 0; | ||
fputs(arch, stdout); | |||
fputc('\n', stdout); | |||
exit(0); | |||
} | } | ||
static void | static void |