libexplain
1.4.D001
|
#include <libexplain/ac/ctype.h>
#include <libexplain/ac/errno.h>
#include <libexplain/ac/stdio.h>
#include <libexplain/ac/string.h>
#include <libexplain/buffer/eintr.h>
#include <libexplain/buffer/emfile.h>
#include <libexplain/buffer/enfile.h>
#include <libexplain/buffer/enobufs.h>
#include <libexplain/buffer/enomedium.h>
#include <libexplain/buffer/enomem.h>
#include <libexplain/buffer/enosys.h>
#include <libexplain/buffer/eoverflow.h>
#include <libexplain/buffer/erange.h>
#include <libexplain/buffer/errno/generic.h>
#include <libexplain/buffer/ewouldblock.h>
#include <libexplain/buffer/gettext.h>
#include <libexplain/option.h>
Go to the source code of this file.
Functions | |
static void | downcase (char *dst, size_t dst_size, const char *src) |
static int | is_alpha (int c) |
void | explain_buffer_errno_generic (explain_string_buffer_t *sb, int errnum, const char *syscall_name) |
static void downcase | ( | char * | dst, |
size_t | dst_size, | ||
const char * | src | ||
) | [static] |
void explain_buffer_errno_generic | ( | explain_string_buffer_t * | sb, |
int | errnum, | ||
const char * | syscall_name | ||
) |
The explain_buffer_errno_generic function is used to explain errors for which a completely generic explanation is possible, and which is more informative than strerror alone.
sb | The string bufferto print into. |
errnum | The errno value to explain |
syscall_name | The name of the problematic system call, for improving error messages. |