libexplain  1.4.D001
Functions
libexplain/errno_info/by_name.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_name (const char *name)

Function Documentation

const explain_errno_info_t* explain_errno_info_by_name ( const char *  name)

The explain_errno_info_by_name function may be used to locate errno information by errno name.

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

Definition at line 26 of file by_name.c.