summaryrefslogtreecommitdiff
path: root/src/unistd/setsid.c
blob: 8dbc9d1c00b2c45f249143f30f26fb46a50cab4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include "stddef.h"
#include "sys/types.h"
#include <unistd.h>
#include "../_syscall.h"

pid_t setsid(void)
{
	SYSCALL(setsid, pid_t, -1, 0, 0, 0, 0, 0, 0);
}
/*
POSIX(1)
*/