3 // Mock system functions for testing.
7 inline int pipe2(int pipefd[2], int flags)
13 inline int fcntl(int fd, int cmd, ...)
15 // This is used for setting the CLOEXEC flag, we can just return 0:
19 inline int close(int fd)
25 inline int kill(pid_t pid, int sig)