Go to the source code of this file.
Functions |
| void | explain_buffer_enotdir (explain_string_buffer_t *sb, const char *pathname, const char *pathname_caption, const struct explain_final_t *pathname_final_component) |
| void | explain_buffer_enotdir2 (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_enotdir_fd (explain_string_buffer_t *sb, int fildes, const char *fildes_caption) |
| int | explain_fildes_is_a_directory (int fildes) |
Function Documentation
The explain_buffer_enotdir function may be used to
- Parameters:
-
| sb | The string buffer to print into |
| pathname | The offending path |
| pathname_caption | The name of the function argument of the offending path |
| pathname_final_component | The required properties of the final component of the offending path |
The explain_buffer_enotdir function may be used to
- Parameters:
-
| sb | The string buffer to print into |
| oldpath | The offending path |
| oldpath_caption | The name of the function argument of the offending path |
| oldpath_final_component | The required properties of the final component of the offending path |
| newpath | The offending path |
| newpath_caption | The name of the function argument of the offending path |
| newpath_final_component | The required properties of the final component of the offending path |
The explain_buffer_enotdir_fd function may be used to
- Parameters:
-
| sb | The string buffer to print into |
| fildes | The offending file descriptor |
| fildes_caption | The name of the function argument of the offending file descriptor |
Definition at line 139 of file enotdir.c.
The explain_fildes_is_a_directory function is used to determine whether or not a file descriptor refers to a directory.
- Parameters:
-
| fildes | The file descriptor to be tested. |
- Returns:
- true (nonzero0 if it is a dir; false (zero) is it is not a dir.
Definition at line 147 of file enotdir.c.