Home
last modified time | relevance | path

Searched refs:utmp (Results 1 – 4 of 4) sorted by relevance

/bionic/libc/bionic/
Dpututline.c33 void pututline(struct utmp* utmp) in pututline() argument
36 struct utmp u; in pututline()
42 while (fread(&u, sizeof(struct utmp), 1, f) == 1) in pututline()
44 if (!strncmp(utmp->ut_line, u.ut_line, sizeof(u.ut_line) -1)) in pututline()
48 if (fseek(f, i - sizeof(struct utmp), SEEK_SET) < 0) in pututline()
50 fwrite(utmp, sizeof(struct utmp), 1, f); in pututline()
60 fwrite(utmp, sizeof(struct utmp), 1, f); in pututline()
Dutmp.c45 static struct utmp utmp; variable
57 struct utmp *
64 if (fread(&utmp, sizeof(utmp), 1, ut) == 1) in getutent()
65 return &utmp; in getutent()
/bionic/libc/include/
Dutmp.h59 struct utmp struct
86 struct utmp* getutent(); argument
/bionic/libc/
DAndroid.mk246 bionic/utmp.c \