libexplain  1.4.D001
Functions
libexplain/buffer/timeval.h File Reference
#include <libexplain/string_buffer.h>

Go to the source code of this file.

Functions

void explain_buffer_timeval (explain_string_buffer_t *sb, const struct timeval *data)
void explain_buffer_timeval_array (explain_string_buffer_t *sb, const struct timeval *data, unsigned data_size)
void explain_parse_timeval_or_die (const char *text, const char *caption, struct timeval *result)

Function Documentation

void explain_buffer_timeval ( explain_string_buffer_t sb,
const struct timeval *  data 
)

The explain_buffer_timeval function may be used to print a representation of a struct timeval value.

Parameters:
sbThe string buffer to print into.
dataPointer to the timeval of interest.

Definition at line 78 of file timeval.c.

void explain_buffer_timeval_array ( explain_string_buffer_t sb,
const struct timeval *  data,
unsigned  data_size 
)

The explain_buffer_timeval_array function may be used to print a representation of a struct timeval array.

Parameters:
sbThe string buffer to print into.
dataPointer to the timeval of interest.
data_sizeThe number of elements in the array

Definition at line 88 of file timeval.c.

void explain_parse_timeval_or_die ( const char *  text,
const char *  caption,
struct timeval *  result 
)

Definition at line 110 of file timeval.c.