libexplain
1.4.D001
|
Go to the source code of this file.
Functions | |
void | explain_buffer_waitpid_options (struct explain_string_buffer_t *sb, int options) |
int | explain_parse_waitpid_options_or_die (const char *text, const char *caption) |
void explain_buffer_waitpid_options | ( | struct explain_string_buffer_t * | sb, |
int | options | ||
) |
The explain_buffer_waitpid_options function may be used to decode and print waitpid(2) options.
sb | The string buffer to print into |
options | The options to be decoded |
Definition at line 37 of file waitpid_options.c.
int explain_parse_waitpid_options_or_die | ( | const char * | text, |
const char * | caption | ||
) |
The explain_parse_waitpid_options function is used to parse text containing waitpid options into a numeric value.
text | The string to be parsed |
caption | additional text to be added to theh start of error messages |
Definition at line 44 of file waitpid_options.c.