libexplain
1.4.D001
|
#include <libexplain/string_buffer.h>
Go to the source code of this file.
Functions | |
void | explain_buffer_eloop (explain_string_buffer_t *sb, const char *pathname, const char *pathname_caption, const struct explain_final_t *pathname_final_component) |
void | explain_buffer_eloop2 (explain_string_buffer_t *sb, const char *oldpath, const char *oldpath_caption, const struct explain_final_t *oldpath_final_component, const char *newpath, const char *newpath_caption, const struct explain_final_t *newpath_final_component) |
void explain_buffer_eloop | ( | explain_string_buffer_t * | sb, |
const char * | pathname, | ||
const char * | pathname_caption, | ||
const struct explain_final_t * | pathname_final_component | ||
) |
The explain_buffer_eloop function may be used to provide a common explanation for ELOOP for all system calls.
sb | The string buffer to print into. |
pathname | The pathname being checked. |
pathname_caption | The argument name of the pathname being checked. |
pathname_final_component | The desired properties of the last component of pathname |
void explain_buffer_eloop2 | ( | explain_string_buffer_t * | sb, |
const char * | oldpath, | ||
const char * | oldpath_caption, | ||
const struct explain_final_t * | oldpath_final_component, | ||
const char * | newpath, | ||
const char * | newpath_caption, | ||
const struct explain_final_t * | newpath_final_component | ||
) |
The explain_buffer_eloop2 function may be used to provide a common explanation for ELOOP for all system calls that take two path names.
sb | The string buffer to print into. |
oldpath | The first pathname being checked. |
oldpath_caption | The argument name of the first pathname being checked. |
oldpath_final_component | The desired properties of the last component of oldpath |
newpath | The second pathname being checked. |
newpath_caption | The argument name of the second pathname being checked. |
newpath_final_component | The desired properties of the last component of newpath |