libexplain  1.4.D001
Functions
libexplain/buffer/enotsock.c File Reference
#include <libexplain/ac/sys/stat.h>
#include <libexplain/buffer/enotsock.h>
#include <libexplain/buffer/wrong_file_type.h>

Go to the source code of this file.

Functions

void explain_buffer_enotsock (explain_string_buffer_t *sb, int fildes, const char *caption)

Function Documentation

void explain_buffer_enotsock ( explain_string_buffer_t sb,
int  fildes,
const char *  caption 
)

The explain_buffer_enotsock function may be used to

Parameters:
sbThe string buffer to print into.
fildesthe offending file descriptor
captionthe name of the system call argument containing the offending file descriptor

Definition at line 26 of file enotsock.c.