Lines Matching refs:utmpx
64 For utmpx systems, the corresponding library functions are
65 setutxent() etc. To the author's knowledge, all utmpx systems have
97 struct utmp and struct utmpx have utility functions (see
103 write both struct utmp and utmpx in one function, whilst maintaining
171 void set_utmpx_time(struct logininfo *li, struct utmpx *ut);
172 void construct_utmpx(struct logininfo *li, struct utmpx *ut);
565 ** utmpx utility functions
567 ** These functions manipulate struct utmpx, accounting for system
572 /* build the utmpx structure */
574 set_utmpx_time(struct logininfo *li, struct utmpx *utx)
587 construct_utmpx(struct logininfo *li, struct utmpx *utx)
799 ** Low-level utmpx functions
802 /* not much point if we don't want utmpx entries */
812 /* write a utmpx entry with the system's help (pututxline() and pals) */
815 utmpx_write_library(struct logininfo *li, struct utmpx *utx)
830 utmpx_write_direct(struct logininfo *li, struct utmpx *utx)
840 struct utmpx utx;
861 struct utmpx utx;
1070 wtmpx_write(struct logininfo *li, struct utmpx *utx)
1097 struct utmpx utx;
1107 struct utmpx utx;
1133 wtmpx_islogin(struct logininfo *li, struct utmpx *utx)
1152 struct utmpx utx;
1170 /* Seek to the start of the last struct utmpx */
1171 if (lseek(fd, -(off_t)sizeof(struct utmpx), SEEK_END) == -1 ) {
1185 * So, we just need to find the username in struct utmpx */
1202 if (lseek(fd, -(off_t)(2 * sizeof(struct utmpx)), SEEK_CUR) == -1) {