libexplain
1.4.D001
|
#include <libexplain/string_buffer.h>
Go to the source code of this file.
Functions | |
void | explain_buffer_rwx (explain_string_buffer_t *sb, int mode) |
void explain_buffer_rwx | ( | explain_string_buffer_t * | sb, |
int | mode | ||
) |
The explain_buffer_rwx function may be used to print a representation of a "rwx" access mode.
It prints 'r' if any of 0444 are set. It prints 'w' if any of 0222 are set. It prints 'x' if any of 0111 are set.
sb | The string buffer to print into. |
mode | The access mode value to be printed. |