ultrix man page for initgroups

Query: initgroups

OS: ultrix

Section: 3x

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

initgroups(3x)															    initgroups(3x)

Name
       initgroups - initialize group access list

Syntax
       initgroups(name, basegid)
       char *name;
       int basegid;

Description
       The subroutine reads through the group file and sets up, using the call, the group access list for the user specified in name.  The basegid
       is automatically included in the groups list.  Typically this value is given as the group number from the password file.

Restrictions
       The subroutine uses the routines based on If the invoking program uses any of these routines, the group structure will  be  overwritten	in
       the call to

Return Values
       The returns -1 if it was not invoked by the superuser.

Files
       /etc/group

See Also
       setgroups(2)

																    initgroups(3x)
Related Man Pages
initgroups(3c) - opensolaris
initgroups(3) - linux
getgrouplist(3) - netbsd
initgroups(3c) - hpux
initgroups(3) - osx
Similar Topics in the Unix Linux Community
Apache config issue
Using ADS Ldap from Linux
LDAP and PAM Configurations for Windows 2008 R2 ADS and Cubox Ubuntu client
I can't compile (gcc) in Solaris 11.3 non global zone
How to identify users that have su'ed to a different account?