libexplain  1.4.D001
Functions
libexplain/iocontrol/request_by_number.c File Reference
#include <libexplain/ac/sys/ioctl.h>
#include <libexplain/iocontrol/generic.h>
#include <libexplain/iocontrol/table.h>

Go to the source code of this file.

Functions

const explain_iocontrol_texplain_iocontrol_find_by_number (int fildes, int request, const void *data)

Function Documentation

const explain_iocontrol_t* explain_iocontrol_find_by_number ( int  fildes,
int  request,
const void *  data 
)

The explain_iocontrol_find_by_number function may be used to locate an ioctl by number. A few ioctl(2) calls are ambiguous, so the more information you can give the better.

Parameters:
fildesThe file descriptor the ioctl(2) call is made against
requestThe request passed to the ioctl(2) system call.
dataThe data passed to the ioctl(2) system call.
Returns:
a pointer to an iocontrol object, that may be used to describe the call the ioctl(2) system call.

Definition at line 26 of file request_by_number.c.