libexplain  1.4.D001
Functions
libexplain/buffer/enotsup.c File Reference
#include <libexplain/buffer/enotsup.h>
#include <libexplain/buffer/gettext.h>

Go to the source code of this file.

Functions

void explain_buffer_enotsup_device (explain_string_buffer_t *sb, const char *caption)

Function Documentation

void explain_buffer_enotsup_device ( explain_string_buffer_t sb,
const char *  caption 
)

The explain_buffer_enotsup_device function may be used to print an explanation of an ENOTSUP error, in the case where a device does not support a given value. (Assume the value has already been printed.)

Parameters:
sbThe string buffer to print into.
captionText representing the malformed value, sufficient that a programmer would find it unambiguous.

Definition at line 24 of file enotsup.c.