#include // for __syscall_0, syscall #include // for pid_t, setsid pid_t setsid(void) { return syscall(setsid); }