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

Go to the source code of this file.

Functions

void explain_buffer_tiocm (explain_string_buffer_t *sb, int value)
void explain_buffer_tiocm_star (explain_string_buffer_t *sb, const int *value)

Function Documentation

void explain_buffer_tiocm ( explain_string_buffer_t sb,
int  value 
)

The explain_buffer_tiocm function may be used to print the "modem bits" arguments if the TIOCMGET, TIOCMSET, TIOCMBIC and TIOCMBIS ioctl requests.

Parameters:
sbThe string buffer to print into.
valueThe value of the bit-wise-or of the modem bits.
void explain_buffer_tiocm_star ( explain_string_buffer_t sb,
const int *  value 
)

The explain_buffer_tiocm_star function may be used to print the "modem bits" arguments if the TIOCMGET, TIOCMSET, TIOCMBIC and TIOCMBIS ioctl requests.

Parameters:
sbThe string buffer to print into.
valueA pointer to the value of the bit-wise-or of the modem bits.

Definition at line 73 of file tiocm.c.