#include <signal.h>
#include <sched.h>
#include <limits.h>
+#include <sys/stat.h>
+#include <dirent.h>
#include "macro.h"
int wait_for_terminate(pid_t pid, siginfo_t *status);
int wait_for_terminate_and_warn(const char *name, pid_t pid);
+_noreturn_ void freeze(void);
+
+bool null_or_empty(struct stat *st);
+
+DIR *xopendirat(int dirfd, const char *name);
+
#define NULSTR_FOREACH(i, l) \
for ((i) = (l); (i) && *(i); (i) = strchr((i), 0)+1)