diff options
Diffstat (limited to 'mdk-stage1/dietlibc/include/grp.h')
-rw-r--r-- | mdk-stage1/dietlibc/include/grp.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/mdk-stage1/dietlibc/include/grp.h b/mdk-stage1/dietlibc/include/grp.h new file mode 100644 index 000000000..2acd0f208 --- /dev/null +++ b/mdk-stage1/dietlibc/include/grp.h @@ -0,0 +1,18 @@ +#ifndef _GRP_H +#define _GRP_H + +#include <sys/cdefs.h> +#include <sys/types.h> + +struct group + { + char *gr_name; /* Group name. */ + char *gr_passwd; /* Password. */ + gid_t gr_gid; /* Group ID. */ + char **gr_mem; /* Member list. */ + }; + +extern struct passwd *getgrgid (uid_t __uid) __THROW; +extern struct passwd *getgrnam (const char *__name) __THROW; + +#endif |