libexplain
1.4.D001
|
Go to the source code of this file.
Functions | |
void | explain_message_open_flags (char *message, size_t message_size, int flags) |
void explain_message_open_flags | ( | char * | message, |
size_t | message_size, | ||
int | flags | ||
) |
The explain_message_open_flags function may be used to decode the flags argument to the open(2) system call into a humnan readable string, which is one representation of how it would be written by a coder.
message | where to put the constructed text. This makes it thread safe, given a suitabley safe buffer. |
message_size | the size of the buffer receiving the message |
flags | the flags argument passed to the open(2) system call, second argument |
Definition at line 25 of file open_flags.c.