libexplain
1.4.D001
|
#include <libexplain/ac/ctype.h>
#include <libexplain/ac/limits.h>
#include <libexplain/string_buffer.h>
Go to the source code of this file.
Functions | |
void | explain_string_buffer_putc_escaped (explain_string_buffer_t *sb, int c, int delimiter) |
void explain_string_buffer_putc_escaped | ( | explain_string_buffer_t * | sb, |
int | c, | ||
int | delimiter | ||
) |
The explain_string_buffer_putc_escaped function is used to print a character with C escaping. This can be used for the contents of "string" and 'character' constants.
sb | The string buffer to be initialised. |
c | The character to be printed if possible, and C escaped if not. |
delimiter | The delimiter character; single quote for character constants, double quote for string constants |
Definition at line 27 of file putc_escaped.c.