_PATH_UTMP
static char utfile[MAXPATHLEN] = _PATH_UTMP;
if (tty > 0 && (fd = open(_PATH_UTMP, O_WRONLY|O_CREAT, 0644)) >= 0) {
if (tty > 0 && (fd = open(_PATH_UTMP, O_WRONLY|O_CREAT, 0644)) >= 0) {
if ((fd = open(_PATH_UTMP, O_RDWR, 0)) < 0)
&& (fd = open(_PATH_UTMP, O_RDWR|O_CREAT, 0644)) < 0))
sfname = fname ? fname : _PATH_UTMP;