repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix fork of processes with active async io contexts
[musl.git]
/
src
/
passwd
/
fgetpwent.c
blob
fd472a07add9ff085d5728f887e06c24ad0ed3b1
1
#define _GNU_SOURCE
2
#include
"pwf.h"
3
4
struct
passwd
*
fgetpwent
(
FILE
*
f
)
5
{
6
static char
*
line
;
7
static struct
passwd pw
;
8
size_t
size
=
0
;
9
struct
passwd
*
res
;
10
__getpwent_a
(
f
, &
pw
, &
line
, &
size
, &
res
);
11
return
res
;
12
}