This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: setresgid,setresuid: Prototypes missing
- To: Andreas Jaeger <aj@arthur.rhein-neckar.de>
- Subject: Re: setresgid,setresuid: Prototypes missing
- From: Ulrich Drepper <drepper@cygnus.com>
- Date: 30 Nov 1998 11:32:35 -0800
- Cc: libc-hacker@cygnus.com
- References: <13922.60263.283464.288406@arthur.rhein-neckar.de>
- Reply-To: drepper@cygnus.com (Ulrich Drepper)
Andreas Jaeger <aj@arthur.rhein-neckar.de> writes:
> #include <unistd.h>
>
> int setresuid(uid_t ruid, uid_t euid, uid_t suid);
> int setresgid(gid_t rgid, gid_t egid, gid_t sgid);
They certainly do not belong into unistd.h since they are no standard
functions. The alternative would be to create a new header but there
was no big reason since these functions are rarely used. The the
programs using them can declare them themself. If somebody wants to
step ahead and decide that we must have a new header containing these
declarations send me a patch.
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------