repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
__aeabi_ldivmod: fix sign logic
[minix.git]
/
lib
/
libc
/
sys-minix
/
setsid.c
blob
72b6010e00a308727b25682214c1569bbaa3ad80
1
#include <sys/cdefs.h>
2
#include <lib.h>
3
#include
"namespace.h"
4
5
#include <unistd.h>
6
7
#ifdef __weak_alias
8
__weak_alias
(
setsid
,
_setsid
)
9
#endif
10
11
pid_t
setsid
()
12
{
13
message m
;
14
15
return
(
_syscall
(
PM_PROC_NR
,
SETSID
, &
m
));
16
}