setgroups() moved?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@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



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux