|
libexplain
1.4.D001
|
#include <libexplain/string_buffer.h>Go to the source code of this file.
Functions | |
| void | explain_buffer_getrusage_who (explain_string_buffer_t *sb, int data) |
| int | explain_parse_getrusage_who_or_die (const char *text, const char *caption) |
| void explain_buffer_getrusage_who | ( | explain_string_buffer_t * | sb, |
| int | data | ||
| ) |
The explain_buffer_getrusage_who function may be used to print a representation of a getrusage who argument.
| sb | The string buffer to print into. |
| data | The getrusage who value to be printed. |
Definition at line 40 of file getrusage_who.c.
| int explain_parse_getrusage_who_or_die | ( | const char * | text, |
| const char * | caption | ||
| ) |
The explain_parse_getrusage_who_or_die function is used to parse a text representation of a getrusage(who) value. On error, it will print an error and exit.
| text | The text to be parsed to extract the getrusage(who) value. |
| caption | Additional description for error messages. |
Definition at line 47 of file getrusage_who.c.
1.7.6.1