nuttx/libs
Xiang Xiao a9b72ed796 libc/grp: add getgrouplist()
Add getgrouplist() to the C library.  It scans the group database for
a user's supplementary groups and always reports the primary group
first.  Without CONFIG_LIBC_GROUP_FILE only the primary group is
returned, since no membership information is available.

The group file is read through lib_get_tempbuffer()/lib_put_tempbuffer()
to avoid a heap allocation on every lookup.

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-06-23 23:09:22 +08:00
..
libbuiltin fix(compiler-rt): avoid duplicate builtins dir on sim 2026-05-13 10:01:26 -03:00
libc libc/grp: add getgrouplist() 2026-06-23 23:09:22 +08:00
libdsp Makefile: Remove make depend files by make distclean 2026-02-16 16:27:57 +01:00
libm !compiler: drop CONFIG_HAVE_LONG_LONG and require long long support 2026-05-19 16:21:28 +08:00
libnx include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
libxx libs\libxx: Fix Make style 2026-03-23 18:16:46 -04:00
CMakeLists.txt