Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
d41cdef9198e635270d30e82be939d4ea0cbce82
/
.
/
src
/
passwd
/
fgetpwent.c
blob: fd472a07add9ff085d5728f887e06c24ad0ed3b1 [
file
] [
log
] [
blame
]
#define
_GNU_SOURCE
#include
"pwf.h"
struct
passwd
*
fgetpwent
(
FILE
*
f
)
{
static
char
*
line
;
static
struct
passwd pw
;
size_t
size
=
0
;
struct
passwd
*
res
;
__getpwent_a
(
f
,
&
pw
,
&
line
,
&
size
,
&
res
);
return
res
;
}