Files
Arquivotheca.SunOS-4.1.3/lib/libc/sys/common/setsid.c
seta75D 2e8a93c394 Init
2021-10-11 18:20:23 -03:00

23 lines
306 B
C

#if !defined(lint) && defined(SCCSIDS)
static char sccsid[] = "@(#)setsid.c 1.1 92/07/30 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);
}