Formerly unix/sysv/sysv4/__getpgrp.c.~2~
authorRoland McGrath <roland@gnu.org>
Tue, 22 Jun 1993 06:49:00 +0000 (06:49 +0000)
committerRoland McGrath <roland@gnu.org>
Tue, 22 Jun 1993 06:49:00 +0000 (06:49 +0000)
sysdeps/unix/sysv/sysv4/getpgid.c

index f667278..fad4970 100644 (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);
 }