3. Library calls (functions within program libraries)
INITGROUPSSection: Linux Programmer's Manual (3)
Updated: 2017-09-15
Index | Return to Main Contents
NAMEinitgroups - initialize the supplementary group access list
SYNOPSIS
#include <sys/types.h> #include <grp.h> int initgroups(const char *user, gid_t group);
Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
initgroups():
Since glibc 2.19:
_DEFAULT_SOURCE
Glibc 2.19 and earlier:
EThe
ATTRIBUTESFor an explanation of the terms used in this section, see attributes(7).
CONFORMING TOSVr4, 4.3BSD.
SEE ALSOgetgroups(2), setgroups(2), credentials(7)
COLOPHONThis page is part of release 4.15 of the Linux man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at.
Index
Return to Main Contents