libexplain  1.4.D001
Functions
libexplain/buffer/einval/out_of_range.c File Reference
#include <libexplain/buffer/einval.h>
#include <libexplain/option.h>

Go to the source code of this file.

Functions

void explain_buffer_einval_out_of_range (explain_string_buffer_t *sb, const char *caption, long lo, long hi)

Function Documentation

void explain_buffer_einval_out_of_range ( explain_string_buffer_t sb,
const char *  caption,
long  lo,
long  hi 
)

The explain_buffer_einval_out_of_range functions is used to print an explanation for an EINVAL error, in the case where an argument's value is outside the valid range.

Parameters:
sbThe buffer to print into.
captionThe name of the offending system call argument.
loThe lower bound of the valid range.
hiThe upper bound of the valid range.

Definition at line 24 of file out_of_range.c.