libexplain  1.4.D001
Functions
libexplain/string_buffer/putc_quoted.c File Reference
#include <libexplain/string_buffer.h>

Go to the source code of this file.

Functions

void explain_string_buffer_putc_quoted (explain_string_buffer_t *sb, int c)

Function Documentation

The explain_string_buffer_putc_quoted function is used to print a C character constant (i.e., including the single quotes), with escaping if necessary.

Parameters:
sbThe string buffer to be initialised.
cThe character to be printed as a C character constant.

Definition at line 23 of file putc_quoted.c.