summaryrefslogtreecommitdiff
path: root/modules/group-member
blob: 6c5051dc06fa756d7707bdec6fe843002bda67c5 (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
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]
xalloc          [test $HAVE_GROUP_MEMBER = 0]
stdbool         [test $HAVE_GROUP_MEMBER = 0]

configure.ac:
gl_FUNC_GROUP_MEMBER
if test $HAVE_GROUP_MEMBER = 0; then
  AC_LIBOBJ([group-member])
  gl_PREREQ_GROUP_MEMBER
fi
gl_UNISTD_MODULE_INDICATOR([group-member])

Makefile.am:

Include:
<unistd.h>

License:
GPL

Maintainer:
Jim Meyering