summaryrefslogtreecommitdiff
path: root/src/passwd/fgetpwent.c
blob: e95fdb2c66b1d3ca00a85474f951ff21ddd36115 (plain) (blame)
1
2
3
4
5
6
7
8
9
#include "pwf.h"

struct passwd *fgetpwent(FILE *f)
{
	static char *line;
	static struct passwd pw;
	size_t size=0;
	return __getpwent_a(f, &pw, &line, &size);
}