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

Go to the source code of this file.

Functions

void explain_buffer_einval_multiple (explain_string_buffer_t *sb, const char *caption, int multiple)

Function Documentation

void explain_buffer_einval_multiple ( explain_string_buffer_t sb,
const char *  caption,
int  multiple 
)

The explain_buffer_einval_multiple function is use to print an explanation of an EINVAL error, in the case where an argument is meant to be a multiple of a number (e.g. block sizes).

Parameters:
sbThe buffer to print into.
captionThe name of the offending system call argument.
multipleThe number it must be a multiple of.

Definition at line 23 of file multiple.c.