Lines Matching refs:waserr
331 int waserr = 0; /* True after errors */ local
367 if(!waserr && getpwnam_r(prefix, &pwd_buffer, buffer, sizeof(buffer),
369 waserr = callback_fn(data, pwd->pw_name, pwd->pw_dir,
375 if(!waserr && getpwuid_r(getuid(), &pwd_buffer, buffer, sizeof(buffer),
378 waserr = callback_fn(data, pwd->pw_name, pwd->pw_dir,
399 while((pwd = getpwent_r(&pwd_buffer, home->buffer, home->buflen)) != NULL && !waserr) {
401 while((pwd = getpwent()) != NULL && !waserr) {
404 waserr = callback_fn(data, pwd->pw_name, pwd->pw_dir,
417 if(!waserr && strncmp(prefix, "+", prefix_len) == 0) {
420 waserr = callback_fn(data, "+", pwd, _err_get_msg(home->err),ERR_MSG_LEN);
422 waserr = 1;
427 return waserr;