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

Go to the source code of this file.

Functions

void explain_buffer_gai_strerror (explain_string_buffer_t *sb, int errcode)

Function Documentation

void explain_buffer_gai_strerror ( explain_string_buffer_t sb,
int  errcode 
)

The explain_buffer_gai_strerror function may be used to print gai_strerror explanation into the buffer.

Parameters:
sbThe string buffer to print into.
errcodethe error reported by getaddrinfo

Definition at line 70 of file gai_strerror.c.