libexplain
1.4.D001
|
#include <libexplain/ac/sys/ioctl.h>
#include <libexplain/iocontrol.h>
#include <libexplain/iocontrol/generic.h>
#include <libexplain/string_buffer.h>
Go to the source code of this file.
Functions | |
void | explain_iocontrol_print_name (const explain_iocontrol_t *p, explain_string_buffer_t *sb, int errnum, int fildes, int request, const void *data) |
void explain_iocontrol_print_name | ( | const explain_iocontrol_t * | p, |
struct explain_string_buffer_t * | sb, | ||
int | errnum, | ||
int | fildes, | ||
int | request, | ||
const void * | data | ||
) |
The explain_iocontrol_print_name function is used to print the name of a request 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_name.c.