libexplain  1.4.D001
Functions
libexplain/errno_info/by_text.c File Reference
#include <libexplain/ac/string.h>
#include <libexplain/errno_info/table.h>

Go to the source code of this file.

Functions

const explain_errno_info_texplain_errno_info_by_text (const char *text)

Function Documentation

const explain_errno_info_t* explain_errno_info_by_text ( const char *  text)

The explain_errno_info_by_text function may be used to locate errno information by errno text.

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

Definition at line 26 of file by_text.c.