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

Go to the source code of this file.

Functions

void explain_buffer_eventfd_flags (explain_string_buffer_t *sb, int flags)
int explain_parse_eventfd_flags_or_die (const char *text, const char *caption)

Function Documentation

void explain_buffer_eventfd_flags ( explain_string_buffer_t sb,
int  flags 
)

The explain_buffer_eventfd_flags function may be used to print an explanation of an EVENTFS_FLAGS error.

Parameters:
sbThe string buffer to print into.
flagsThe flags to be printed.

Definition at line 42 of file eventfd_flags.c.

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

The explain_parse_eventfd_flags_or_die function is used to parse a text string to build an eventfs flags value.

Parameters:
textThe text to be parsed.
captionadditional description for error messages
Returns:
The flags value. Does not return on error.

Definition at line 49 of file eventfd_flags.c.