#ifndef	_GRP_H
#define	_GRP_H
#include <features.h>

#include <sys/types.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 ((__gid_t __gid));
extern struct group *getgrnam __P ((__const char *__name));

#endif /* grp.h  */
