Lines Matching refs:error
106 #define AW_PARSE_ERR(flags, error) \
109 aw_set_err(error); \
115 #define AW_GEN_ERR(error) \
117 aw_set_err(error); \
292 int aw_errno = AW_ERR_NO_ERROR; /* error number */
295 "No error",
371 static void aw_set_err(int error);
652 * Called when an an error occurs. Write any incomplete or buffered records.
681 (aw_err_mesg = aw_strerror(aw_errno)) ? aw_err_mesg : "unknown error",
683 (err_mesg = strerror(errno)) ? err_mesg : "unknown error");
1060 * set is a serious error
2406 aw_set_err(int error)
2408 if (error == AW_ERR_NO_ERROR || aw_errno == AW_ERR_NO_ERROR)
2409 aw_errno = error;
2434 aw_errno = AW_ERR_NO_ERROR; /* No error so far */
2677 * aw_strerror: return the error string
2710 * aw_perror_c: common internal routine to return the error string
2720 c = "Unknown error";
2732 * aw_perror: return the error string
2741 * aw_perror_r: return the error string