libexplain
1.4.D001
|
#include <libexplain/string_buffer.h>
Go to the source code of this file.
Functions | |
void | explain_buffer_ptrace_options (explain_string_buffer_t *sb, long value) |
long | explain_parse_ptrace_options_or_die (const char *text, const char *caption) |
void explain_buffer_ptrace_options | ( | explain_string_buffer_t * | sb, |
long | value | ||
) |
The explain_buffer_ptrace_options function may be used to print a representation of a ptrace_options structure.
sb | The string buffer to print into. |
value | The ptrace(2) options value to be printed. |
Definition at line 63 of file ptrace_options.c.
long explain_parse_ptrace_options_or_die | ( | const char * | text, |
const char * | caption | ||
) |
The explain_parse_ptrace_options_or_die function is used to parse a text string to extract a ptrace(2) options bit-map value.
text | The string to be parsed. |
caption | The additional text for the error message, describing the source of the text. |
Definition at line 70 of file ptrace_options.c.