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

Go to the source code of this file.

Functions

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

Function Documentation

void explain_buffer_enoprotoopt ( explain_string_buffer_t sb,
const char *  caption 
)

The explain_buffer_enoprotoopt function may be used to print an explanation for an ENOPROTOOPT error, reported by some socket functions.

Parameters:
sbThe string buffer to print into.
captionThe name of the offending system call argument.

Definition at line 23 of file enoprotoopt.c.