79 static char errbuf[64];
91 snprintf ( errbuf,
sizeof ( errbuf ),
95 snprintf ( errbuf,
sizeof ( errbuf ),
struct errortab common_errors [] __errortab
The most common errors.
#define __einfo_errortab(einfo)
#define EINFO_ENETUNREACH
int errno
Global "last error" number.
char * strerror(int errno)
Retrieve string representation of error number.
#define PRODUCT_ERROR_URI
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
#define for_each_table_entry(pointer, table)
Iterate through all entries within a linker table.
static struct errortab * find_error(int errno)
Find error description.
int snprintf(char *buf, size_t size, const char *fmt,...)
Write a formatted string to a buffer.
static struct errortab * find_closest_error(int errno)
Find closest error description.
#define NULL
NULL pointer (VOID *)