Searched refs:utmp (Results 1 – 4 of 4) sorted by relevance
/bionic/libc/bionic/ |
D | pututline.c | 33 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()
|
D | utmp.c | 45 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/ |
D | utmp.h | 59 struct utmp struct 86 struct utmp* getutent(); argument
|
/bionic/libc/ |
D | Android.mk | 246 bionic/utmp.c \
|