source:
asp3_tinet_ecnl_rx/trunk/musl-1.1.18/src/passwd/fgetpwent.c
Last change on this file was 337, checked in by , 6 years ago | |
---|---|
|
|
File size: 215 bytes |
Line | |
---|---|
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 | } |
Note:
See TracBrowser
for help on using the repository browser.