setgroups() moved?
Kjartan Maraas
kmaraas at broadpark.no
Wed Feb 23 16:06:07 UTC 2005
Hi.
It looks like this function moved? The man page says:
SYNOPSIS
#include <sys/types.h>
#include <unistd.h>
but it seems like it's really living in <grp.h>:
[kmaraas at localhost xpl]$ grep setgroups /usr/include/*.h
/usr/include/grp.h:extern int setgroups (size_t __n, __const __gid_t
*__groups) __THROW;
What's the right way of getting at this function? Preferrably in a way
that works with other distros/OSes?
Cheers
Kjartan
More information about the fedora-devel-list
mailing list