libexplain  1.4.D001
Functions
libexplain/buffer/errno/generic.h File Reference
#include <libexplain/string_buffer.h>

Go to the source code of this file.

Functions

void explain_buffer_errno_generic (explain_string_buffer_t *sb, int errnum, const char *syscall_name)

Function Documentation

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.

Parameters:
sbThe string bufferto print into.
errnumThe errno value to explain
syscall_nameThe name of the problematic system call, for improving error messages.

Definition at line 67 of file generic.c.