Lines Matching refs:answer
83 getl_r_common(char *answer, size_t namelen, size_t maxlen) in getl_r_common() argument
117 (void) strncpy(answer, ubuf.ut_user, ulen); in getl_r_common()
118 answer[ulen] = '\0'; in getl_r_common()
119 return (answer); in getl_r_common()
127 getlogint_r(char *answer, int namelen) in getlogint_r() argument
129 return (getl_r_common(answer, (size_t)namelen, LOGNAME_MAX_TRAD)); in getlogint_r()
156 char *answer = tsdalloc(_T_LOGIN, LOGIN_NAME_MAX_TRAD, NULL); in getlogint() local
158 if (answer == NULL) in getlogint()
160 return (getl_r_common(answer, LOGIN_NAME_MAX_TRAD, LOGNAME_MAX_TRAD)); in getlogint()
169 getloginx_r(char *answer, int namelen) in getloginx_r() argument
171 return (getl_r_common(answer, (size_t)namelen, NMAX)); in getloginx_r()
202 char *answer = tsdalloc(_T_LOGIN, LOGIN_NAME_MAX, NULL); in getloginx() local
204 if (answer == NULL) in getloginx()
206 return (getl_r_common(answer, LOGIN_NAME_MAX, NMAX)); in getloginx()