Home | History | Annotate | Download | only in who

Lines Matching refs:utmpentry

1 /*	$NetBSD: utmpentry.c,v 1.22 2021/02/26 02:45:43 christos Exp $	*/
34 __RCSID("$NetBSD: utmpentry.c,v 1.22 2021/02/26 02:45:43 christos Exp $");
51 #include "utmpentry.h"
60 static void getentry(struct utmpentry *, struct utmp *);
64 static void getentryx(struct utmpentry *, struct utmpx *);
69 static void adjust_size(struct utmpentry *e);
75 static struct utmpentry *ehead;
79 adjust_size(struct utmpentry *e)
156 struct utmpentry *ep;
166 struct utmpentry *sep = ep;
175 getutentries(const char *fname, struct utmpentry **epp)
184 struct utmpentry *ep;
186 struct utmpentry **nextp = &ehead;
242 struct utmpentry *from = ehead, *save;
267 getentry(struct utmpentry *e, struct utmp *up)
298 getentryx(struct utmpentry *e, struct utmpx *up)