Files
Bruno Haible ef765f13c8 getugroups: Clarify and optimize.
* lib/getugroups.c (getugroups): Fix specification of return value.
Move grouplist != NULL test out of the inner loop.
* modules/getugroups (Depends-on): Add bool.
2026-08-21 18:30:46 +02:00

28 lines
276 B
Plaintext

Description:
Return the group IDs of a user.
Files:
lib/getugroups.c
lib/getugroups.h
m4/getugroups.m4
Depends-on:
errno-h
streq
bool
configure.ac:
gl_GETUGROUPS
Makefile.am:
lib_SOURCES += getugroups.c
Include:
"getugroups.h"
License:
LGPLv2+
Maintainer:
Jim Meyering