Lines Matching defs:logout
73 time_t logout; /* log out time */
79 static time_t currentout; /* current logout value */
316 tt->logout = currentout;
327 (tt->logout > snaptime || tt->logout < 1)))) {
331 tt->logout = bp->ut_tv.tv_sec;
338 * If `tt' is non-NULL, use it and `crmsg' to print the logout time or
339 * logout type (crash/shutdown) as appropriate.
382 if (!tt->logout) {
383 xo_emit(" {:logout-time/still logged in}\n");
386 if (tt->logout < 0) {
387 tt->logout = -tt->logout;
388 xo_emit("- {:logout-reason/%s}", crmsg);
390 tm = localtime(&tt->logout);
392 xo_attr("seconds", "%lu", (unsigned long)tt->logout);
393 xo_emit("- {:logout-time/%s}", ct);
395 delta = tt->logout - bp->ut_tv.tv_sec;