|
libexplain
1.4.D001
|
#include <libexplain/ac/sys/mman.h>#include <libexplain/buffer/mmap_flags.h>#include <libexplain/parse_bits.h>Go to the source code of this file.
Functions | |
| void | explain_buffer_mmap_flags (explain_string_buffer_t *sb, int flags) |
| int | explain_parse_mmap_flags_or_die (const char *text, const char *caption) |
Variables | |
| static struct explain_parse_bits_table_t | table [] |
| void explain_buffer_mmap_flags | ( | explain_string_buffer_t * | sb, |
| int | data | ||
| ) |
The explain_buffer_mmap_flags function may be used to print a representation of a mmap_flags structure.
| sb | The string buffer to print into. |
| data | The mmap_flags value to be printed. |
Definition at line 76 of file mmap_flags.c.
| int explain_parse_mmap_flags_or_die | ( | const char * | text, |
| const char * | caption | ||
| ) |
The explain_parse_mmap_flags_or_die function is used to parse a text representation of a mmap(2) flags argument. Does not return if there is a parse error.
| text | The text to be parsed |
| caption | Extra description for the error message. |
Definition at line 83 of file mmap_flags.c.
struct explain_parse_bits_table_t table[] [static] |
Definition at line 25 of file mmap_flags.c.
1.7.6.1