libexplain
1.4.D001
|
#include <libexplain/ac/fcntl.h>
#include <libexplain/ac/limits.h>
#include <libexplain/ac/sys/param.h>
#include <libexplain/buffer/errno/path_resolution.h>
#include <libexplain/fileinfo.h>
Go to the source code of this file.
Functions | |
int | explain_buffer_errno_path_resolution_at (explain_string_buffer_t *sb, int errnum, int fildes, const char *pathname, const char *pathname_caption, const explain_final_t *final_component) |
int explain_buffer_errno_path_resolution_at | ( | explain_string_buffer_t * | sb, |
int | errnum, | ||
int | fildes, | ||
const char * | pathname, | ||
const char * | pathname_caption, | ||
const explain_final_t * | final_component | ||
) |
The explain_buffer_errno_path_resolution_at function may be used to check a path for problems.
sb | The string buffer to write the error to, once it is found |
errnum | The error number expected. |
fildes | The directory file descriptor that relative file names are relative to. |
pathname | The path being checked. |
pathname_caption | The name of the argument being checked in the function arguments of the system call being deciphered. |
final_component | Flags controlling the final component |
Definition at line 28 of file path_resolution_at.c.