libexplain  1.4.D001
Functions
libexplain/errno_info/by_name_fuzzy.c File Reference
#include <libexplain/errno_info/table.h>
#include <libexplain/fstrcmp.h>

Go to the source code of this file.

Functions

const explain_errno_info_texplain_errno_info_by_name_fuzzy (const char *name)

Function Documentation

The explain_errno_info_by_name_fuzzy function may be used to locate errno information by errno name, using fuzzy matching. (For best results, try the exact match first.)

Parameters:
nameThe error name ("ENOENT", etc)
Returns:
pointer to info on success, or NULL on failure

Definition at line 25 of file by_name_fuzzy.c.