libexplain
1.4.D001
|
#include <libexplain/string_buffer.h>
Go to the source code of this file.
Functions | |
int | explain_buffer_eisdir (explain_string_buffer_t *sb, const char *pathname, const char *caption) |
int explain_buffer_eisdir | ( | explain_string_buffer_t * | sb, |
const char * | pathname, | ||
const char * | caption | ||
) |
The explain_buffer_eisdir function may be used to print an explainaton for an EISDIR error, in the case where a file was to be opened for writing.
sb | The string buffer to print into. |
pathname | The pathname of the offending file. |
caption | The name of the offending function call parameter. |