libexplain
1.4.D001
|
Go to the source code of this file.
Functions | |
void | explain_buffer_enametoolong_gethostname (explain_string_buffer_t *sb, int actual_size, const char *caption) |
void explain_buffer_enametoolong_gethostname | ( | explain_string_buffer_t * | sb, |
int | actual_length, | ||
const char * | caption | ||
) |
The explain_buffer_enametoolong_gethostname function is sued to print an explaination for an ENAMETOOLONG error reported by the gethostname, getdomainname (etc) functions.
sb | The string buffer to print into. |
actual_length | The actual length of the host/domain name, this will be larger than the value passed. |
caption | The name of the offending system call argument |
Definition at line 24 of file gethostname.c.