libexplain
1.4.D001
|
#include <libexplain/ac/sys/ioctl.h>
#include <libexplain/buffer/pointer.h>
#include <libexplain/iocontrol.h>
#include <libexplain/is_efault.h>
#include <libexplain/string_buffer.h>
Go to the source code of this file.
Functions | |
void | explain_iocontrol_print_data (const explain_iocontrol_t *p, explain_string_buffer_t *sb, int errnum, int fildes, int request, const void *data) |
void explain_iocontrol_print_data | ( | const explain_iocontrol_t * | p, |
struct explain_string_buffer_t * | sb, | ||
int | errnum, | ||
int | fildes, | ||
int | request, | ||
const void * | data | ||
) |
The explain_iocontrol_print_data function is used to print a representation of the data argument passed to an ioctl(2) system call.
p | Pointer to the explain_iocontrol_t instance, rather like "this" in C++ code. |
sb | The string buffer to print into. |
errnum | The error number that caused all this, obtained from the global errno variable, possibly indirectly. |
fildes | The original fildes, exactly as passed to the ioctl(2) system call. |
request | The original request, exactly as passed to the ioctl(2) system call. |
data | The original data, exactly as passed to the ioctl(2) system call. |
Definition at line 28 of file print_data.c.