diff options
Diffstat (limited to 'include/grp.h')
-rw-r--r-- | include/grp.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/include/grp.h b/include/grp.h deleted file mode 100644 index 12fecd02e..000000000 --- a/include/grp.h +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef __CONFIG_GRP_H -#define __CONFIG_GRP_H - -#if !defined CONFIG_USE_BB_PWD_GRP -#include_next <grp.h> - -#else - -#include <sys/types.h> -#include <features.h> -#include <stdio.h> - - -/* The group structure */ -struct group -{ - char *gr_name; /* Group name. */ - char *gr_passwd; /* Password. */ - gid_t gr_gid; /* Group ID. */ - char **gr_mem; /* Member list. */ -}; - -extern void setgrent __P ((void)); -extern void endgrent __P ((void)); -extern struct group * getgrent __P ((void)); - -extern struct group * getgrgid __P ((__const gid_t gid)); -extern struct group * getgrnam __P ((__const char * name)); - -extern struct group * fgetgrent __P ((FILE * file)); - -extern int setgroups __P ((size_t n, __const gid_t * groups)); -extern int initgroups __P ((__const char * user, gid_t gid)); - -extern struct group * __getgrent __P ((int grp_fd)); - -#endif /* USE_SYSTEM_PWD_GRP */ -#endif /* __CONFIG_GRP_H */ - |