libexplain  1.4.D001
Functions
libexplain/iocontrol/parse_request_or_die.c File Reference
#include <libexplain/ac/stdlib.h>
#include <libexplain/ac/sys/ioctl.h>
#include <libexplain/iocontrol/table.h>
#include <libexplain/parse_bits.h>

Go to the source code of this file.

Functions

int explain_parse_ioctl_request_or_die (const char *text)

Function Documentation

int explain_parse_ioctl_request_or_die ( const char *  text)

The explain_parse_ioctl_request_or_die function is used to parse a text string to produce an ioctl(2) request value.

Parameters:
textThe text string to be parsed.
Returns:
On success, the ioctl(2) request value; on failure, this function does not return, but instead prints an error message and terminates via exit(2).

Definition at line 28 of file parse_request_or_die.c.