aboutsummaryrefslogtreecommitdiff
path: root/musl/grp.h
diff options
context:
space:
mode:
authorpk33 <pk33@email.com>2024-11-03 03:46:13 +0100
committerpk33 <pk33@email.com>2024-11-03 03:46:13 +0100
commit69058973a9f5073184b9f0b98dbcbbd63da40514 (patch)
tree67d9dcda3c8a67f1b22a0752a25839a2266327e7 /musl/grp.h
parent0f23d50c8291b23799e55c8653c15f16c0d752d0 (diff)
downloadengine33-69058973a9f5073184b9f0b98dbcbbd63da40514.tar.gz
ignore
Diffstat (limited to 'musl/grp.h')
-rw-r--r--musl/grp.h53
1 files changed, 0 insertions, 53 deletions
diff --git a/musl/grp.h b/musl/grp.h
deleted file mode 100644
index 27e8c5e..0000000
--- a/musl/grp.h
+++ /dev/null
@@ -1,53 +0,0 @@
-#ifndef _GRP_H
-#define _GRP_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#include <features.h>
-
-#define __NEED_size_t
-#define __NEED_gid_t
-
-#ifdef _GNU_SOURCE
-#define __NEED_FILE
-#endif
-
-#include <bits/alltypes.h>
-
-struct group {
- char *gr_name;
- char *gr_passwd;
- gid_t gr_gid;
- char **gr_mem;
-};
-
-struct group *getgrgid(gid_t);
-struct group *getgrnam(const char *);
-
-int getgrgid_r(gid_t, struct group *, char *, size_t, struct group **);
-int getgrnam_r(const char *, struct group *, char *, size_t, struct group **);
-
-#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
-struct group *getgrent(void);
-void endgrent(void);
-void setgrent(void);
-#endif
-
-#ifdef _GNU_SOURCE
-struct group *fgetgrent(FILE *);
-int putgrent(const struct group *, FILE *);
-#endif
-
-#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
-int getgrouplist(const char *, gid_t, gid_t *, int *);
-int setgroups(size_t, const gid_t *);
-int initgroups(const char *, gid_t);
-#endif
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif