mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
Formerly unix/sysv/sysv4/__getpgrp.c.~2~
This commit is contained in:
parent
de4f369b94
commit
b5aa2dfab2
@ -21,11 +21,11 @@ Cambridge, MA 02139, USA. */
|
||||
#include <unistd.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
extern int __sco_pgrp __P ((int type, ...));
|
||||
extern int __pgrpsys __P ((int type, ...));
|
||||
|
||||
/* Get the process group ID of process PID. */
|
||||
int
|
||||
DEFUN(__getpgrp, (pid), pid_t pid)
|
||||
{
|
||||
return __sco_pgrp (0, pid);
|
||||
return __pgrpsys (4, pid);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user