#define _LGPL_SOURCE
#include <stdio.h>
+#include "signal-helper.h"
#define TRACEPOINT_DEFINE
#include "tp.h"
int i;
int arg_i;
+ if (set_signal_handler()) {
+ return 1;
+ }
+
if (argc <= 3) {
fprintf(stderr, "Usage: %s COUNT STRING [STRING]...\n",
argv[0]);
if (arg_i == argc) {
arg_i = 2;
}
+ if (should_quit) {
+ break;
+ }
}
return 0;