Formerly unix/sysv/sysv4/__getpgrp.c.~2~

This commit is contained in:
Roland McGrath 1993-06-22 06:49:00 +00:00
parent de4f369b94
commit b5aa2dfab2
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}