#include <signal.h>
#include <stdbool.h>
#include <stdbool.h>
+#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
int tcp_listen_nonblock(const struct sockaddr *addr, socklen_t len);
int accept_nonblock(int fd);
+int xwrite(int fd, const char *s, size_t l);
int daemon_detach(void);
int drop_privileges(const char *user, const char *group);