summaryrefslogtreecommitdiff
path: root/src/passwd/fgetgrent.c
blob: 2f18d9251f37364fee8ab4cf41923d146ad38c51 (plain)
1
2
3
4
5
6
7
8
9
#include "pwf.h"

struct group *fgetgrent(FILE *f)
{
	static char *line, **mem;
	static struct group gr;
	size_t size=0, nmem=0;
	return __getgrent_a(f, &gr, &line, &size, &mem, &nmem);
}