libexplain
1.4.D001
|
#include <libexplain/string_buffer.h>
Go to the source code of this file.
Functions | |
void | explain_buffer_eafnosupport (explain_string_buffer_t *sb, int fildes, const char *fildes_caption, const struct sockaddr *sock_addr, const char *sock_addr_caption) |
void explain_buffer_eafnosupport | ( | explain_string_buffer_t * | sb, |
int | fildes, | ||
const char * | fildes_caption, | ||
const struct sockaddr * | sock_addr, | ||
const char * | sock_addr_caption | ||
) |
The explain_buffer_eafnosupport function may be used to explan an EAFNOSUPPORT error, which occurs when a socket attempts to bind or connect to an address of a different address family.
sb | The string buffer to print into. |
fildes | The file descriptor in question. |
fildes_caption | The name of the system call argument that holds the file descriptor in question. |
sock_addr | The address that attempted to bind or connect |
sock_addr_caption | The name of the system call argument that holds the address that attempted to bind or connect |
Definition at line 27 of file eafnosupport.c.