blob: 2b37cfff31253bfb5b5a2cc9e539c84c1c18a0d5 (
plain) (
tree)
|
|
/* See LICENSE file for copyright and license details. */
#include "../libsyscalls.h"
#include <stddef.h>
#include <stdio.h>
int
main(int argc, char *argv[])
{
size_t i, count;
(void) argc;
#define X(...) 1
count = (LIBSYSCALLS_LIST_ERRORS(X, +));
#undef X
for (i = 0; i < count; i++)
libsyscalls_perror(argv[1], (enum libsyscalls_error)i);
return fflush(stderr) || fclose(stderr);
}
|