mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-18 12:16:13 +08:00
Renamed __setpgrp to __setpgid, added weak aliases setpgid and setpgrp.
This commit is contained in:
parent
1a0149ddaa
commit
9207d65805
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user