Files
Arquivotheca.SunOS-4.1.4/lib/libc/sys/common/setsid.c
seta75D ff309bfe1c Init
2021-10-11 18:37:13 -03:00

23 lines
306 B
C

#if !defined(lint) && defined(SCCSIDS)
static char sccsid[] = "@(#)setsid.c 1.1 94/10/31 SMI";
#endif
#include <sys/session.h>
#include <sys/syscall.h>
#define _SETSID syscall(SYS_setsid, SESS_NEW)
setsid()
{
return (_SETSID);
}
/*
* For 4.0 compatibility
*/
setspgldr()
{
return (_SETSID);
}