Lines Matching refs:errnum
61 pcap_fmt_errmsg_for_errno(char *errbuf, size_t errbuflen, int errnum, in pcap_fmt_errmsg_for_errno() argument
97 errno_t err = strerror_s(p, errbuflen_remaining, errnum); in pcap_fmt_errmsg_for_errno()
103 pcap_snprintf(p, errbuflen_remaining, "Error %d", errnum); in pcap_fmt_errmsg_for_errno()
115 char *errstring = strerror_r(errnum, strerror_buf, PCAP_ERRBUF_SIZE); in pcap_fmt_errmsg_for_errno()
122 int err = strerror_r(errnum, p, errbuflen_remaining); in pcap_fmt_errmsg_for_errno()
129 errnum); in pcap_fmt_errmsg_for_errno()
136 "Message for error %d is too long", errnum); in pcap_fmt_errmsg_for_errno()
143 pcap_snprintf(p, errbuflen_remaining, "%s", pcap_strerror(errnum)); in pcap_fmt_errmsg_for_errno()
153 pcap_fmt_errmsg_for_win32_err(char *errbuf, size_t errbuflen, DWORD errnum, in pcap_fmt_errmsg_for_win32_err() argument
201 NULL, errnum, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), in pcap_fmt_errmsg_for_win32_err()
208 "Couldn't get error message for error (%lu)", errnum); in pcap_fmt_errmsg_for_win32_err()
212 pcap_snprintf(p, errbuflen_remaining, "%s (%lu)", win32_errbuf, errnum); in pcap_fmt_errmsg_for_win32_err()