1989-12-18 14:00:32 +00:00
|
|
|
/* $Header$ */
|
|
|
|
|
|
|
|
#if !defined(_GRP_H)
|
|
|
|
#define _GRP_H
|
|
|
|
|
|
|
|
struct group { /* see getgrent(3) */
|
|
|
|
char *gr_name;
|
|
|
|
char *gr_passwd;
|
1990-01-22 13:20:42 +00:00
|
|
|
#if defined(_POSIX_SOURCE) && defined(_MINIX)
|
|
|
|
char gr_gid;
|
|
|
|
#else
|
1989-12-18 14:00:32 +00:00
|
|
|
int gr_gid;
|
1990-01-22 13:20:42 +00:00
|
|
|
#endif
|
1989-12-18 14:00:32 +00:00
|
|
|
char **gr_mem;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct group *getgrent(void);
|
|
|
|
struct group *getgrgid(int __gid);
|
|
|
|
struct group *getgrnam(const char *__name);
|
|
|
|
|
|
|
|
#endif /* _GRP_H */
|