6 * err - err(), errx(), warn() and warnx(), as per BSD's err.h.
8 * A few platforms don't provide err.h; for those, this provides replacements.
9 * For most, it simple includes the system err.h.
12 * #include <ccan/err/err.h>
14 * int main(int argc, char *argv[])
17 * errx(1, "Expect no arguments");
21 * License: Public domain
22 * Author: Rusty Russell <rusty@rustcorp.com.au>
24 int main(int argc, char *argv[])
29 if (strcmp(argv[1], "depends") == 0) {
31 printf("ccan/compiler\n");