Branch
Hash :
2a99a564
Author :
Date :
2024-12-27T23:41:53
Rename module unistd to unistd-h. * modules/unistd-h: Renamed from modules/unistd. * modules/unistd-h-tests: Renamed from modules/unistd-tests. * modules/unistd-h-c++-tests: Renamed from modules/unistd-c++-tests. * tests/test-unistd-h.c: Renamed from tests/test-unistd.c. * tests/test-unistd-h-c++.cc: Renamed from tests/test-unistd-c++.cc. * doc/posix-headers/unistd.texi: Update. * doc/posix-functions/_exit.texi: Update. * modules/* (Depends-on): Update. * modules/unistd: New file.
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-h
extensions
getgroups [test $HAVE_GROUP_MEMBER = 0]
malloc-gnu [test $HAVE_GROUP_MEMBER = 0]
stdckdint-h [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