summaryrefslogtreecommitdiff
path: root/modules/group-member
blob: c08e786e0a06f6eeeb37cab3588d4568e023c54f (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]
intprops         [test $HAVE_GROUP_MEMBER = 0]
realloc-gnu      [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