|
libexplain
1.4.D001
|
#include <libexplain/string_buffer.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) |
| 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.
1.7.6.1