libexplain  1.4.D001
Functions | Variables
libexplain/buffer/signal.c File Reference
#include <libexplain/ac/signal.h>
#include <libexplain/ac/string.h>
#include <libexplain/buffer/signal.h>
#include <libexplain/parse_bits.h>
#include <libexplain/sizeof.h>

Go to the source code of this file.

Functions

static void fix_real_time_values (void)
void explain_buffer_signal (explain_string_buffer_t *sb, int signum)
int explain_signal_parse_or_die (const char *text, const char *caption)

Variables

static explain_parse_bits_table_t table []

Function Documentation

void explain_buffer_signal ( explain_string_buffer_t sb,
int  signum 
)

The explain_buffer_signal function may be used to print a representation of a signal structure.

Parameters:
sbThe string buffer to print into.
signumThe signal number to be printed.

Definition at line 202 of file signal.c.

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

The explain_signal_parse_or_die function is used to convert a text string into a signal number.

Parameters:
textThe text to be parsed.
captionAdditional text for error messages.
Returns:
a signal number

Definition at line 243 of file signal.c.

static void fix_real_time_values ( void  ) [static]

Definition at line 176 of file signal.c.


Variable Documentation

Definition at line 27 of file signal.c.