Sign in
mojo
/
mojo-tools
/
7d579155cc597aa3befcbfad66eef54bda06b57c
/
.
/
fusl
/
src
/
passwd
/
fgetpwent.c
blob: fc47afea6cddca6c8d9117baecb5315d193969e4 [
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
;
}