Searched defs:wtmpx (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/date/
H A Ddate.c68 static struct utmpx wtmpx[2] = { variable in typeref:struct:utmpx
310 (void) time(&wtmpx[0].ut_xtime);
319 (void) time(&wtmpx[1].ut_xtime);
320 (void) pututxline(&wtmpx[0]);
321 (void) pututxline(&wtmpx[1]);
322 (void) updwtmpx(WTMPX_FILE, &wtmpx[0]);
323 (void) updwtmpx(WTMPX_FILE, &wtmpx[1]);
/illumos-gate/usr/src/man/man4/
H A DMakefile247 wtmpx.4
302 wtmpx.4 := LINKSRC = utmpx.4
/illumos-gate/usr/src/cmd/halt/
H A Dhalt.c1602 struct utmpx wtmpx; local
1604 bzero(&wtmpx, sizeof (struct utmpx));
1605 (void) strcpy(wtmpx.ut_line, "~");
1606 (void) time(&wtmpx.ut_tv.tv_sec);
1609 (void) strcpy(wtmpx.ut_name, "crash dump");
1611 (void) strcpy(wtmpx.ut_name, "shutdown");
1613 (void) updwtmpx(WTMPX_FILE, &wtmpx);

Completed in 62 milliseconds