|
libexplain
1.4.D001
|
#include <libexplain/ac/sys/resource.h>#include <libexplain/buffer/getrusage_who.h>#include <libexplain/parse_bits.h>Go to the source code of this file.
Functions | |
| void | explain_buffer_getrusage_who (explain_string_buffer_t *sb, int value) |
| int | explain_parse_getrusage_who_or_die (const char *text, const char *caption) |
Variables | |
| static const explain_parse_bits_table_t | table [] |
| 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.
const explain_parse_bits_table_t table[] [static] |
{
}
Definition at line 25 of file getrusage_who.c.
1.7.6.1