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

Go to the source code of this file.

Functions

void explain_buffer_timerfd_flags (explain_string_buffer_t *sb, int value)
int explain_parse_timerfd_flags_or_die (const char *text, const char *caption)

Function Documentation

void explain_buffer_timerfd_flags ( explain_string_buffer_t sb,
int  value 
)

The explain_buffer_timerfd_flags function may be used to print a representation of a timerfd_flags value.

Parameters:
sbThe string buffer to print into.
valueThe timerfd_flags value to be printed.

Definition at line 47 of file timerfd_flags.c.

int explain_parse_timerfd_flags_or_die ( const char *  text,
const char *  caption 
)

The explain_parse_timerfd_flags_or_die function is used to parse a text string for a timerfd_create flags value.

Parameters:
textThe text to be parsed
captionaddition text for error messages
Returns:
the timerfd_create flaga value. Does not return on error.

Definition at line 54 of file timerfd_flags.c.