Mon Mar 18 13:20:46 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>

* posix/unistd.h (setpgrp): Declare no-arg version unless __FAVOR_BSD.
	* misc/bsd-compat.c (setpgrp): New function, two arg version.
	* sysdeps/stub/setpgid.c: Remove setpgrp alias.
	* sysdeps/mach/hurd/setpgid.c: Likewise.
	* sysdeps/unix/sysv/sysv4/setpgid.c: Likewise.
	* sysdeps/unix/common/syscalls.list (setpgid): Remove setpgrp alias.
	* sysdeps/unix/sysv/irix4/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/setpgrp.c: Obsolete file removed.
	* posix/setpgrp.c (setpgrp): New file.
	* posix/Makefile (routines): Add setpgrp.
This commit is contained in:
Roland McGrath 1996-03-18 19:38:16 +00:00
parent 6e5a98bc44
commit 925c95c502
2 changed files with 2 additions and 3 deletions

View File

@ -2,7 +2,7 @@
getpgid - bsdgetpgrp 1 __getpgid getpgid getpgid - bsdgetpgrp 1 __getpgid getpgid
msync - msync 3 msync msync - msync 3 msync
setpgid - bsdsetpgrp 2 __setpgid setpgid setpgrp setpgid - bsdsetpgrp 2 __setpgid setpgid
signal - signal 3 __raw_signal signal - signal 3 __raw_signal
sysmp - sysmp 4 __sysmp sysmp - sysmp 4 __sysmp
syssgi - syssgi 2 __syssgi syssgi - syssgi 2 __syssgi

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1993, 1995 Free Software Foundation, Inc. /* Copyright (C) 1993, 1995, 1996 Free Software Foundation, Inc.
This file is part of the GNU C Library. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or The GNU C Library is free software; you can redistribute it and/or
@ -32,4 +32,3 @@ DEFUN(__setpgid, (pid, pgid), int pid AND int pgid)
} }
weak_alias (__setpgid, setpgid) weak_alias (__setpgid, setpgid)
weak_alias (__setpgid, setpgrp)