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

Go to the source code of this file.

Functions

void explain_buffer_setvbuf_mode (explain_string_buffer_t *sb, int value)
int explain_parse_setvbuf_mode_or_die (const char *text, const char *caption)

Function Documentation

void explain_buffer_setvbuf_mode ( explain_string_buffer_t sb,
int  value 
)

The explain_buffer_setvbuf_mode function may be used to print a representation of a setvbuf mode value.

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

Definition at line 34 of file setvbuf_mode.c.

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

The explain_parse_setvbuf_mode_or_die function is used to parse a string into a setvbuf(3) mode argument.

Parameters:
textThe text to be parsed.
captionAdditional information to add to the error message.

Definition at line 41 of file setvbuf_mode.c.