From 642b5fb0007b64c77d186fcb018d571152ee1d47 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Mon, 14 Aug 2023 18:51:07 +0200 Subject: reorganization: first steps --- src/libc/include/grp.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/libc/include/grp.h (limited to 'src/libc/include/grp.h') diff --git a/src/libc/include/grp.h b/src/libc/include/grp.h new file mode 100644 index 0000000..e7b99c9 --- /dev/null +++ b/src/libc/include/grp.h @@ -0,0 +1,11 @@ +#pragma once +#include + +struct group { + char *gr_name; + char *gr_passwd; + gid_t gr_gid; + char **gr_mem; +}; + +struct group *getgrgid(gid_t gid); -- cgit v1.2.3