libexplain  1.4.D001
Functions
libexplain/errno_info/by_text_fuzzy.c File Reference
#include <libexplain/ac/string.h>
#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_text_fuzzy (const char *text)

Function Documentation

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

Parameters:
textThe error text ("No such file or directory", etc)
Returns:
pointer to info on success, or NULL on failure

Definition at line 27 of file by_text_fuzzy.c.