Home | History | Annotate | Download | only in ftpd

Lines Matching defs:ut

89 	struct utmp ut;
95 (void)strncpy(ut.ut_line, line, sizeof(ut.ut_line));
96 (void)strncpy(ut.ut_name, name, sizeof(ut.ut_name));
97 (void)strncpy(ut.ut_host, host, sizeof(ut.ut_host));
98 (void)time(&ut.ut_time);
99 if (write(fd, (char *)&ut, sizeof(struct utmp)) !=
121 struct utmpx ut;
127 (void)memset(&ut, 0, sizeof(ut));
128 (void)strncpy(ut.ut_line, line, sizeof(ut.ut_line));
129 (void)strncpy(ut.ut_name, name, sizeof(ut.ut_name));
130 (void)strncpy(ut.ut_host, host, sizeof(ut.ut_host));
132 (void)memcpy(&ut.ut_ss, &haddr->si_su, haddr->su_len);
133 ut.ut_type = utx_type;
135 ut.ut_exit.e_exit = (uint16_t)WEXITSTATUS(status);
137 ut.ut_exit.e_termination = (uint16_t)WTERMSIG(status);
138 (void)gettimeofday(&ut.ut_tv, NULL);
139 if(write(fdx, (char *)&ut, sizeof(struct utmpx)) !=