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

/illumos-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...]
/illumos-gate/usr/src/cmd/last/
H A Dlast.c121 int bl, wtmp; local
163 /* -f name sets filename of wtmp file */
235 wtmp = open(wtmpfile, 0);
236 if (wtmp < 0) {
240 (void) fstat(wtmp, &stb);
254 (void) lseek(wtmp, (off_t)(bl * sizeof (buf)), 0);
255 bp = &buf[read(wtmp, buf, sizeof (buf)) / sizeof (buf[0]) - 1];
/illumos-gate/usr/src/man/man4/
H A DMakefile246 wtmp.4 \
300 wtmp.4 := LINKSRC = utmp.4

Completed in 67 milliseconds