Penguin
Blame: initgroups(3)
EditPageHistoryDiffInfoLikePages
Annotated edit history of initgroups(3) version 1 showing authors affecting page license. View with all changes included.
Rev Author # Line
1 perry 1 INITGROUPS
2 !!!INITGROUPS
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 RETURN VALUE
7 ERRORS
8 FILES
9 CONFORMING TO
10 SEE ALSO
11 ----
12 !!NAME
13
14
15 initgroups - initialize the supplementary group access list
16 !!SYNOPSIS
17
18
19 __#include
20 __''user''__, gid_t__ ''group''__);
21 __
22 !!DESCRIPTION
23
24
25 The __initgroups()__ function initializes the group
26 access list by reading the group database ''/etc/group''
27 and using all groups of which ''user'' is a member. The
28 additional group ''group'' is also added to the
29 list.
30 !!RETURN VALUE
31
32
33 The __initgroups()__ function returns 0 on success, or -1
34 if an error occurs.
35 !!ERRORS
36
37
38 __EPERM__
39
40
41 The calling process does not have sufficient
42 privileges.
43
44
45 __ENOMEM__
46
47
48 Insufficient memory to allocate group information
49 structure.
50 !!FILES
51
52
53 ''/etc/group'' group database file
54 !!CONFORMING TO
55
56
57 SVID 3, BSD 4.3
58 !!SEE ALSO
59
60
61 getgroups(2), setgroups(2)
62 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.