|
libexplain
1.4.D001
|
#include <libexplain/string_buffer.h>Go to the source code of this file.
Functions | |
| void | explain_buffer_ptrace_request (explain_string_buffer_t *sb, int data) |
| int | explain_parse_ptrace_request_or_die (const char *text, const char *caption) |
| 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.
1.7.6.1