#include <time.h>
#include <sys/time.h>
#include <stdbool.h>
+#include <stdlib.h>
typedef uint64_t usec_t;
bool endswith(const char *s, const char *postfix);
bool startswith(const char *s, const char *prefix);
-int nointr_close(int fd);
+int close_nointr(int fd);
int parse_boolean(const char *v);