Home
last modified time | relevance | path

Searched refs:wtmp (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/cmd/bnu/
H A Din.uucpd.c366 int pid, wtmp; local
403 wtmp = open("/usr/adm/wtmp", O_WRONLY|O_APPEND);
404 if (wtmp >= 0) {
410 (void) lseek(wtmp, 0L, 2);
413 (void) close(wtmp);
429 int wtmp; local
484 wtmp = open("/usr/adm/wtmp", O_WRONLY|O_APPEND);
485 if (wtmp >= 0) {
493 (void) lseek(wtmp, 0L, 2);
495 (void) write(wtmp, (char *)&utmp, sizeof (utmp));
[all …]
/illumos-gate/usr/src/cmd/last/
H A Dlast.c125 int bl, wtmp; in main() local
244 wtmp = open(wtmpfile, 0); in main()
245 if (wtmp < 0) { in main()
249 (void) fstat(wtmp, &stb); in main()
263 (void) lseek(wtmp, (off_t)(bl * sizeof (buf)), 0); in main()
264 bp = &buf[read(wtmp, buf, sizeof (buf)) / sizeof (buf[0]) - 1]; in main()
/illumos-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*
/illumos-gate/usr/src/man/man5/
H A DMakefile231 wtmp.5 \
284 wtmp.5 := LINKSRC = utmp.5
/illumos-gate/usr/src/pkg/manifests/
H A DSUNWcs.man5.inc118 link path=usr/share/man/man5/wtmp.5 target=utmp.5