Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/ssh/sshd/
H A Dloginrec.c207 #define MIN_SIZEOF(s1,s2) ( sizeof(s1) < sizeof(s2) ? sizeof(s1) : sizeof(s2) ) macro
649 (void) strncpy(ut->ut_name, li->username, MIN_SIZEOF(ut->ut_name, li->username)); in construct_utmp()
651 (void) strncpy(ut->ut_host, li->hostname, MIN_SIZEOF(ut->ut_host, li->hostname)); in construct_utmp()
708 (void) strncpy(utx->ut_name, li->username, MIN_SIZEOF(utx->ut_name, li->username)); in construct_utmpx()
719 (void) strncpy(utx->ut_host, li->hostname, MIN_SIZEOF(utx->ut_host, li->hostname)); in construct_utmpx()
1078 MIN_SIZEOF(li->username, ut->ut_name)) == 0) { in wtmp_islogin()
1137 MIN_SIZEOF(li->line, ut.ut_line)); in wtmp_get_entry()
1140 MIN_SIZEOF(li->hostname, ut.ut_host)); in wtmp_get_entry()
1233 MIN_SIZEOF(li->username, utx->ut_name)) == 0 ) { in wtmpx_islogin()
1296 MIN_SIZEOF(li->hostname, utx.ut_host));
[all …]