summaryrefslogtreecommitdiff
path: root/modules/group-member
blob: d84b751c0c5e642834a04029ff0f06dedd5274d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Description:
Determine whether the current process has the permissions of a given group ID.

Files:
lib/group-member.c
m4/group-member.m4

Depends-on:
unistd
extensions
getgroups        [test $HAVE_GROUP_MEMBER = 0]
realloc-gnu      [test $HAVE_GROUP_MEMBER = 0]
stdckdint        [test $HAVE_GROUP_MEMBER = 0]

configure.ac:
gl_FUNC_GROUP_MEMBER
gl_CONDITIONAL([GL_COND_OBJ_GROUP_MEMBER], [test $HAVE_GROUP_MEMBER = 0])
AM_COND_IF([GL_COND_OBJ_GROUP_MEMBER], [
  gl_PREREQ_GROUP_MEMBER
])
gl_UNISTD_MODULE_INDICATOR([group-member])

Makefile.am:
if GL_COND_OBJ_GROUP_MEMBER
lib_SOURCES += group-member.c
endif

Include:
<unistd.h>

License:
LGPLv2+

Maintainer:
Jim Meyering