Renamed __setpgrp to __setpgid, added weak aliases setpgid and setpgrp.

This commit is contained in:
Roland McGrath 1995-01-26 01:21:48 +00:00
parent 1a0149ddaa
commit 9207d65805

View File

@ -26,9 +26,10 @@ extern int __pgrpsys __P ((int type, ...));
If PID is zero, the current process's process group ID is set.
If PGID is zero, the process ID of the process is used. */
int
DEFUN(__setpgrp, (pid, pgid), int pid AND int pgid)
DEFUN(__setpgid, (pid, pgid), int pid AND int pgid)
{
return __pgrpsys (1, pid, pgid);
}
weak_alias (__setpgrp, setpgrp)
weak_alias (__setpgid, setpgid)
weak_alias (__setpgid, setpgrp)