Home
last modified time | relevance | path

Searched refs:ut_time (Results 1 – 18 of 18) sorted by relevance

/openbsd/usr.sbin/ac/
H A Dac.c319 secs = up->ut_time - lp->usr.ut_time; in log_out()
324 19, ctime(&up->ut_time), in log_out()
406 FirstTime = usr.ut_time; in ac()
407 if (usr.ut_time < prev) in ac()
409 prev = usr.ut_time; in ac()
419 secs = usr.ut_time; in ac()
429 secs = usr.ut_time; in ac()
432 secs -= usr.ut_time; in ac()
437 lp->usr.ut_time -= secs; in ac()
460 usr.ut_time = time(NULL); in ac()
[all …]
/openbsd/usr.bin/last/
H A Dlast.c222 printf("%lld", (long long)bp->ut_time); in print_entry()
226 tm = localtime(&bp->ut_time); in print_entry()
229 printf("%lld", (long long)bp->ut_time); in print_entry()
266 (void)time(&buf[0].ut_time); in wtmp()
282 T->logout = -bp->ut_time; in wtmp()
283 currentout = -bp->ut_time; in wtmp()
346 ((want(bp, YES)) || (bp->ut_time < snaptime && in wtmp()
368 delta = T->logout - bp->ut_time; in wtmp()
391 T->logout = bp->ut_time; in wtmp()
408 ct = ctime(&buf[0].ut_time); in wtmp()
[all …]
/openbsd/libexec/rpc.rusersd/
H A Drusers_proc.c159 utmps[nusers].ut_time = usr.ut_time; in do_names_3()
223 utmp_idle[nusers].ui_utmp.ut_time = usr.ut_time; in do_names_2()
287 ru_utmp[nusers].ut_time = usr.ut_time; in do_names_1()
/openbsd/lib/librpcsvc/
H A Drnusers.x65 % int ut_time; /* time on */
126 % if (!xdr_int(xdrs, &objp->ut_time))
H A Drusers.x54 int ut_time; /* time entry was made */ member
/openbsd/include/
H A Dutmp.h66 time_t ut_time; member
/openbsd/usr.bin/who/
H A Dwho.c218 (void)time(&usr.ut_time); in who_am_i()
256 (void)printf("%.12s ", ctime(&up->ut_time) + 4); in output()
/openbsd/lib/libutil/
H A Dlogout.c58 (void)time(&ut.ut_time); in logout()
H A Dlogwtmp.c55 (void) time(&ut.ut_time); in logwtmp()
/openbsd/libexec/ftpd/
H A Dlogwtmp.c70 ut.ut_time = tv.tv_sec; in ftpdlogwtmp()
H A Dlogutmp.c120 ut.ut_time = tv.tv_sec; in ftpd_logout()
H A Dftpd.c962 (void)time(&utmp.ut_time); in pass()
/openbsd/usr.bin/rusers/
H A Drusers.c270 ut->ut_time = up->uia_arr[i]->ui_utmp.ut_time; in rusers_reply()
325 ut->ut_time = up3->utmp_array_val[i].ut_time; in rusers_reply_3()
644 time_t tim = ut->ut_time; in print_entry()
/openbsd/usr.bin/ssh/
H A Dsshlogin.c161 u.ut_time = time(NULL); in record_login()
/openbsd/regress/usr.sbin/syslogd/
H A Dttylog.c170 time(&utmp.ut_time); in redirect()
/openbsd/usr.bin/finger/
H A Dutil.c243 w->loginat = (time_t)ut->ut_time; in enter_where()
/openbsd/usr.bin/w/
H A Dw.c323 pr_attime(&ep->utmp.ut_time, &now); in main()
/openbsd/usr.bin/login/
H A Dlogin.c659 (void)time(&utmp.ut_time); in main()