summaryrefslogblamecommitdiff
path: root/src/passwd/fgetgrent.c
blob: d8d1c77362549eaede7f4ecb32879daf18f9977a (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                   








                                                               
#define _GNU_SOURCE
#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);
}