libexplain  1.4.D001
Functions
libexplain/buffer/termio_cc.c File Reference
#include <libexplain/ac/linux/termios.h>
#include <libexplain/buffer/termio_cc.h>
#include <libexplain/parse_bits.h>
#include <libexplain/sizeof.h>

Go to the source code of this file.

Functions

static void char_name (explain_string_buffer_t *sb, int value)
void explain_buffer_termio_cc (explain_string_buffer_t *sb, const unsigned char *data, size_t data_size)

Function Documentation

static void char_name ( explain_string_buffer_t sb,
int  value 
) [static]

Definition at line 27 of file termio_cc.c.

void explain_buffer_termio_cc ( explain_string_buffer_t sb,
const unsigned char *  data,
size_t  data_size 
)

The explain_buffer_termio_cc function may be used to print a representation of a termio::c_cc array.

Parameters:
sbThe string buffer to print into.
dataThe termio::c_cc array to be printed.
data_sizeThe size of the termio::c_cc array to be printed.

Definition at line 79 of file termio_cc.c.