HomeSort by: relevance | last modified time | path
    Searched refs:_PATH_WTMP (Results 1 - 7 of 7) sorted by relevancy

  /src/include/
utmp.h 46 #define _PATH_WTMP "/var/log/wtmp"
  /src/lib/libutil/compat/
compat_login.c 74 if ((fd = open(_PATH_WTMP, O_WRONLY|O_APPEND, 0)) >= 0) {
  /src/lib/libutil/
login.c 66 if ((fd = open(_PATH_WTMP, O_WRONLY|O_APPEND, 0)) >= 0) {
logwtmp.c 64 if ((fd = open(_PATH_WTMP, O_WRONLY|O_APPEND, 0)) < 0)
  /src/usr.bin/last/
last.c 236 if (access(_PATH_WTMP, R_OK) == 0)
237 file = _PATH_WTMP;
242 _PATH_WTMP);
246 errx(EXIT_FAILURE, "Cannot access `%s'", _PATH_WTMP);
  /src/libexec/ftpd/
logwtmp.c 76 const char *wf = _PATH_WTMP;
  /src/usr.sbin/ac/
ac.c 91 #define AC_W 1 /* not _PATH_WTMP */
132 if (strcmp(_PATH_WTMP, name))
317 * if _PATH_WTMP does not exist, exit quietly
319 if (access(_PATH_WTMP, 0) != 0 && errno == ENOENT)
322 fp = file(_PATH_WTMP);

Completed in 32 milliseconds