Lines Matching refs:newfile
790 utmpxname(const char *newfile)
797 if ((len = strlen(newfile)) > MAXFILE-1)
803 if (newfile[len-1] != 'x')
810 (void) strcpy(&utmpxfile[0], newfile);
843 utmpname(const char *newfile)
847 if (strlen(newfile) > MAXFILE)
850 if (strcmp(newfile, "/var/adm/utmp") == 0 ||
851 strcmp(newfile, "/var/adm/wtmp") == 0) {
852 (void) strcpy(name, newfile);
857 (void) strcpy(_compat_utmpfile, newfile);