libexplain  1.4.D001
Functions
libexplain/buffer/enosys/socket.c File Reference
#include <libexplain/buffer/enosys.h>
#include <libexplain/buffer/socket_type.h>

Go to the source code of this file.

Functions

void explain_buffer_enosys_socket (explain_string_buffer_t *sb, const char *syscall_name, int fildes)

Function Documentation

void explain_buffer_enosys_socket ( explain_string_buffer_t sb,
const char *  syscall_name,
int  fildes 
)

The explain_buffer_enosys_socket function may be used to print an explanation of an ENOSYS or EOPNOTSUPP error, associated with a particular network socket.

Parameters:
sbThe string buffer to print into.
syscall_nameThe name of the offending system call.
fildesThe offending file descriptor.

Definition at line 24 of file socket.c.