libexplain  1.4.D001
Functions | Variables
libexplain/buffer/getrusage_who.c File Reference
#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 []

Function Documentation

The explain_buffer_getrusage_who function may be used to print a representation of a getrusage who argument.

Parameters:
sbThe string buffer to print into.
dataThe 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.

Parameters:
textThe text to be parsed to extract the getrusage(who) value.
captionAdditional description for error messages.

Definition at line 47 of file getrusage_who.c.


Variable Documentation

Initial value:
{









}

Definition at line 25 of file getrusage_who.c.