libexplain  1.4.D001
Functions
libexplain/message/permission_mode.c File Reference
#include <libexplain/permission_mode.h>
#include <libexplain/buffer/permission_mode.h>
#include <libexplain/string_buffer.h>

Go to the source code of this file.

Functions

void explain_message_permission_mode (char *message, size_t message_size, int mode)

Function Documentation

void explain_message_permission_mode ( char *  message,
size_t  message_size,
int  mode 
)

The explain_message_permission_mode function may be used to decode a set of permission mode bits into human readable text, something like the programmer would have written.

Parameters:
messageThe character array to write the mode into. This makes the function thread safe if the array is suitable.
message_sizeThe size in bytes of the character array to write the mode into.
modethe permission mode bits to be decoded

Definition at line 26 of file permission_mode.c.