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

Go to the source code of this file.

Functions

const char * explain_permission_mode (int mode)

Function Documentation

const char* explain_permission_mode ( int  mode)

The explain_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:
modethe permission mode bits to be decoded
Returns:
pointer to string in shared buffer, it will be overwritten by subsequent calls to this function.
Note:
this function is not thread safe.

Definition at line 24 of file permission_mode.c.