From f5e48e94a2f4d4bbd6e5628c7f2afafc6dbcc459 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Thu, 7 Mar 2024 17:28:52 -0500 Subject: build: Build mlibc + add distclean target Signed-off-by: Ian Moffett --- lib/mlibc/options/posix/include/grp.h | 43 ----------------------------------- 1 file changed, 43 deletions(-) delete mode 100644 lib/mlibc/options/posix/include/grp.h (limited to 'lib/mlibc/options/posix/include/grp.h') diff --git a/lib/mlibc/options/posix/include/grp.h b/lib/mlibc/options/posix/include/grp.h deleted file mode 100644 index a50396e..0000000 --- a/lib/mlibc/options/posix/include/grp.h +++ /dev/null @@ -1,43 +0,0 @@ -#ifndef _GRP_H -#define _GRP_H - -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -struct group { - char *gr_name; - char *gr_passwd; - gid_t gr_gid; - char **gr_mem; -}; - -#ifndef __MLIBC_ABI_ONLY - -void endgrent(void); -struct group *getgrent(void); -struct group *getgrgid(gid_t); -int getgrgid_r(gid_t, struct group *, char *, size_t, struct group **); -struct group *getgrnam(const char *); -int getgrnam_r(const char *, struct group *, char *, size_t, struct group **); -void setgrent(void); -int putgrent(const struct group *, FILE *); -struct group *fgetgrent(FILE *); - -int setgroups(size_t size, const gid_t *list); -int initgroups(const char *user, gid_t group); - -// Non standard extension -int getgrouplist(const char *, gid_t, gid_t *, int *); - -#endif /* !__MLIBC_ABI_ONLY */ - -#ifdef __cplusplus -} -#endif - -#endif // _GRP_H -- cgit v1.2.3