libexplain
1.4.D001
|
#include <libexplain/ac/sys/time.h>
#include <libexplain/ac/sys/resource.h>
#include <libexplain/buffer/prio_which.h>
#include <libexplain/parse_bits.h>
Go to the source code of this file.
Functions | |
void | explain_buffer_prio_which (explain_string_buffer_t *sb, int value) |
int | explain_parse_prio_which_or_die (const char *text, const char *caption) |
Variables | |
static struct explain_parse_bits_table_t | table [] |
void explain_buffer_prio_which | ( | explain_string_buffer_t * | sb, |
int | value | ||
) |
The explain_buffer_prio_which function may be used to print a representation of a getpriority which value.
sb | The string buffer to print into. |
value | The getpriority which value to be printed. |
Definition at line 41 of file prio_which.c.
int explain_parse_prio_which_or_die | ( | const char * | text, |
const char * | caption | ||
) |
The explain_parse_prio_which_or_die function is used to parse the given text op extract a getpriority which value.
text | The text to be parsed. of this is a command line argument. |
caption | Additional information to make the error message more informatiove. |
Definition at line 48 of file prio_which.c.
struct explain_parse_bits_table_t table[] [static] |
{ }
Definition at line 26 of file prio_which.c.