|
libexplain
1.4.D001
|
#include <libexplain/ac/sys/ptrace.h>#include <libexplain/buffer/ptrace_request.h>#include <libexplain/parse_bits.h>Go to the source code of this file.
Functions | |
| void | explain_buffer_ptrace_request (explain_string_buffer_t *sb, int value) |
| int | explain_parse_ptrace_request_or_die (const char *text, const char *caption) |
Variables | |
| static const explain_parse_bits_table_t | table [] |
| void explain_buffer_ptrace_request | ( | explain_string_buffer_t * | sb, |
| int | data | ||
| ) |
The explain_buffer_ptrace_request function may be used to print a representation of a ptrace(2) request argument.
| sb | The string buffer to print into. |
| data | The ptrace(2) request value to be printed. |
Definition at line 255 of file ptrace_request.c.
| int explain_parse_ptrace_request_or_die | ( | const char * | text, |
| const char * | caption | ||
| ) |
The explain_parse_ptrace_request_or_die function is used to parse a text string to extract a ptrace(2) request value.
| text | The string to be parsed. |
| caption | The additional text for the error message, describing the source of the text. |
Definition at line 262 of file ptrace_request.c.
const explain_parse_bits_table_t table[] [static] |
Definition at line 25 of file ptrace_request.c.
1.7.6.1