mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
Formerly unix/sysv/sysv4/__setpgrp.c.~2~
This commit is contained in:
parent
aca28d6c27
commit
de4f369b94
@ -20,7 +20,7 @@ Cambridge, MA 02139, USA. */
|
||||
#include <errno.h>
|
||||
#include <unistd.h>
|
||||
|
||||
extern int __sco_pgrp __P ((int type, ...));
|
||||
extern int __pgrpsys __P ((int type, ...));
|
||||
|
||||
/* Set the process group ID of the process matching PID to PGID.
|
||||
If PID is zero, the current process's process group ID is set.
|
||||
@ -28,5 +28,5 @@ extern int __sco_pgrp __P ((int type, ...));
|
||||
int
|
||||
DEFUN(__setpgrp, (pid, pgid), int pid AND int pgid)
|
||||
{
|
||||
return __sco_pgrp (1, pid, pgid);
|
||||
return __pgrpsys (5, pid, pgid);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user