BarryServer : Git

All the code for all my projects
// BarryServer : Git / OrionLibC / blob / master / include / grp.h

// Related

OrionLibC

Barry Using POSIX names for structs 11f4683 (2 years, 2 months ago)
#ifndef _GRP_H
#define _GRP_H

/* Structure of a group entry */
typedef struct group {
	char *gr_name;
	gid_t gr_gid;
	char **gr_mem;
} Group;

Group *getgrnam(const char *name);
Group *getgrgid(gid_t gid);

#endif