Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/rexd/
H A Dunix_login.c352 struct utmpx set_utmp; in LoginUser() local
366 (void) memset((void *)&set_utmp, 0, sizeof (set_utmp)); in LoginUser()
367 (void) time(&set_utmp.ut_tv.tv_sec); in LoginUser()
368 set_utmp.ut_pid = getpid(); in LoginUser()
370 (void) strcpy(set_utmp.ut_host, rhost); in LoginUser()
372 if (tmplen < sizeof (set_utmp.ut_host)) in LoginUser()
373 set_utmp.ut_syslen = tmplen; in LoginUser()
375 set_utmp.ut_syslen = sizeof (set_utmp.ut_host); in LoginUser()
377 (void) memset(set_utmp.ut_host, 0, sizeof (set_utmp.ut_host)); in LoginUser()
378 set_utmp.ut_syslen = 0; in LoginUser()
[all …]