build fd files in the directory specified in the config.
[AROS.git] / compiler / posixc / setsid.c
blob7dc15a026d62836a44c364aaa85444c143e0828b
1 /*
2 Copyright © 2017, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <sys/types.h>
8 #include <exec/tasks.h>
9 #include <proto/exec.h>
11 #include <assert.h>
13 #include "__posixc_intbase.h"
15 /*****************************************************************************
17 NAME */
18 #include <unistd.h>
20 pid_t setsid(
22 /* SYNOPSIS */
23 void)
25 /* FUNCTION
26 Returns the process group ID for the new session.
28 INPUTS
30 RESULT
32 NOTES
34 EXAMPLE
36 BUGS
38 SEE ALSO
40 INTERNALS
42 ******************************************************************************/
44 return (pid_t)-1;