Lines Matching refs:utmpx
83 * For utmpx systems, the corresponding library functions are
84 * setutxent() etc. To the author's knowledge, all utmpx systems have
116 * struct utmp and struct utmpx have utility functions (see
122 * write both struct utmp and utmpx in one function, whilst maintaining
197 void set_utmpx_time(struct logininfo *li, struct utmpx *ut);
198 void construct_utmpx(struct logininfo *li, struct utmpx *ut);
722 ** utmpx utility functions
724 ** These functions manipulate struct utmpx, accounting for system
729 /* build the utmpx structure */
731 set_utmpx_time(struct logininfo *li, struct utmpx *utx)
742 construct_utmpx(struct logininfo *li, struct utmpx *utx)
983 ** Low-level utmpx functions
986 /* not much point if we don't want utmpx entries */
996 /* write a utmpx entry with the system's help (pututxline() and pals) */
999 utmpx_write_library(struct logininfo *li, struct utmpx *utx)
1014 utmpx_write_direct(struct logininfo *li, struct utmpx *utx)
1024 struct utmpx utx;
1045 struct utmpx utx;
1261 wtmpx_write(struct logininfo *li, struct utmpx *utx)
1293 struct utmpx utx;
1303 struct utmpx utx;
1329 wtmpx_islogin(struct logininfo *li, struct utmpx *utx)
1348 struct utmpx utx;
1366 /* Seek to the start of the last struct utmpx */
1367 if (lseek(fd, -(off_t)sizeof(struct utmpx), SEEK_END) == -1 ) {
1382 * line. So, we just need to find the username in struct utmpx
1398 if (lseek(fd, -(off_t)(2 * sizeof(struct utmpx)), SEEK_CUR) == -1) {
1629 struct utmpx *utx;