libexplain  1.4.D001
Functions
libexplain/buffer/stat_mode.h File Reference
#include <libexplain/ac/sys/types.h>
#include <libexplain/string_buffer.h>

Go to the source code of this file.

Functions

void explain_buffer_stat_mode (explain_string_buffer_t *sb, mode_t value)
int explain_parse_stat_mode_or_die (const char *text, const char *caption)

Function Documentation

void explain_buffer_stat_mode ( explain_string_buffer_t sb,
mode_t  value 
)

The explain_buffer_stat_mode function may be used to print a representation of a stat_mode structure.

Parameters:
sbThe string buffer to print into.
valueThe stat::st_mode value to be printed.

Definition at line 95 of file stat_mode.c.

int explain_parse_stat_mode_or_die ( const char *  text,
const char *  caption 
)

Definition at line 199 of file stat_mode.c.