Searched refs:wtmp (Results 1 - 4 of 4) sorted by relevance

/opensolaris-onvv-gate/usr/src/cmd/acct/
H A Dremove.sh28 rm -f /var/adm/acct/sum/wtmp*
H A Dstartup.sh36 rm -f /var/adm/acct/sum/wtmp*
/opensolaris-onvv-gate/usr/src/cmd/bnu/
H A Din.uucpd.c77 int nolog; /* don't log in utmp or wtmp */
368 int pid, wtmp; local
405 wtmp = open("/usr/adm/wtmp", O_WRONLY|O_APPEND);
406 if (wtmp >= 0) {
412 (void) lseek(wtmp, 0L, 2);
414 (void) write(wtmp, (char *)&utmp, sizeof (utmp));
415 (void) close(wtmp);
422 * Record login in wtmp file.
431 int wtmp; local
[all...]
/opensolaris-onvv-gate/usr/src/cmd/last/
H A Dlast.c118 int bl, wtmp; local
160 /* -f name sets filename of wtmp file */
232 wtmp = open(wtmpfile, 0);
233 if (wtmp < 0) {
237 (void) fstat(wtmp, &stb);
251 (void) lseek(wtmp, (off_t)(bl * sizeof (buf)), 0);
252 bp = &buf[read(wtmp, buf, sizeof (buf)) / sizeof (buf[0]) - 1];

Completed in 104 milliseconds