libexplain
1.4.D001
|
#include <libexplain/string_buffer.h>
Go to the source code of this file.
Functions | |
void | explain_buffer_caption_name_type (explain_string_buffer_t *sb, const char *caption, const char *name, int st_mode) |
void | explain_buffer_caption_name_type_st (explain_string_buffer_t *sb, const char *caption, const char *name, const struct stat *st) |
void explain_buffer_caption_name_type | ( | explain_string_buffer_t * | sb, |
const char * | caption, | ||
const char * | name, | ||
int | st_mode | ||
) |
The explain_buffer_caption_name_type function may be used to print an qualified file name, including the type.
sb | The string buffer to print into. |
caption | The caption "pathname", "oldpath", "newpath", etc, or NULL |
name | The name of the file or directory, or NULL |
st_mode | The file type (S_IFREG, etc) |
Definition at line 45 of file caption_name_type.c.
void explain_buffer_caption_name_type_st | ( | explain_string_buffer_t * | sb, |
const char * | caption, | ||
const char * | name, | ||
const struct stat * | st | ||
) |
The explain_buffer_caption_name_type_st function may be used to print an qualified file name, including the type.
sb | The string buffer to print into. |
caption | The caption "pathname", "oldpath", "newpath", etc, or NULL |
name | The name of the file or directory, or NULL |
st | The file meta data, including the mode. |
Definition at line 73 of file caption_name_type.c.