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
some coverity fixes.
[minix.git]
/
lib
/
libc
/
sys-minix
/
getpgrp.c
blob
8df2865f6e540377a0a5ac2560195051d9521ad9
1
#include <sys/cdefs.h>
2
#include
"namespace.h"
3
#include <lib.h>
4
5
#include <unistd.h>
6
7
#ifdef __weak_alias
8
__weak_alias
(
getpgrp
,
_getpgrp
)
9
#endif
10
11
pid_t
getpgrp
()
12
{
13
message m
;
14
15
return
(
_syscall
(
PM_PROC_NR
,
GETPGRP
, &
m
));
16
}