projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
implement hcreate_r, hdestroy_r and hsearch_r
[oweals/musl.git]
/
src
/
passwd
/
fgetgrent.c
1
#define _GNU_SOURCE
2
#include "pwf.h"
3
4
struct group *fgetgrent(FILE *f)
5
{
6
static char *line, **mem;
7
static struct group gr;
8
size_t size=0, nmem=0;
9
return __getgrent_a(f, &gr, &line, &size, &mem, &nmem);
10
}