Lines Matching refs:errors
168 * This function returns details about the current set of errors. It assumes
169 * that the user has gotten the number of errors from shadow_get_status().
170 * Because the total number of errors doesn't decrease, we don't have to worry
171 * if there isn't enough to fill. If the number of errors has subsequently
177 shadow_error_report_t *errors;
183 if ((errors = shadow_zalloc(count *
190 errors[i].ser_errno = sep->se_error;
191 if ((errors[i].ser_path =
194 shadow_free_errors(errors, count);
200 return (errors);
204 shadow_free_errors(shadow_error_report_t *errors, size_t count)
209 free(errors[i].ser_path);
210 free(errors);