Functions | Variables
test_ioctl.cpp File Reference

Go to the source code of this file.

Functions

int64_t bf_ioctl_open ()
 
int64_t bf_send_ioctl (int fd, unsigned long request)
 
int64_t bf_read_ioctl (int fd, unsigned long request, void *data)
 
int64_t bf_write_ioctl (int fd, unsigned long request, const void *data)
 

Variables

int g_ioctl_open = 0
 
int g_send_ioctl = 0
 
int g_read_ioctl = 0
 
int g_write_ioctl = 0
 

Function Documentation

◆ bf_ioctl_open()

int64_t bf_ioctl_open ( )

Definition at line 31 of file test_ioctl.cpp.

◆ bf_send_ioctl()

int64_t bf_send_ioctl ( int  fd,
unsigned long  request 
)

Definition at line 34 of file test_ioctl.cpp.

◆ bf_read_ioctl()

int64_t bf_read_ioctl ( int  fd,
unsigned long  request,
void *  data 
)

Definition at line 37 of file test_ioctl.cpp.

◆ bf_write_ioctl()

int64_t bf_write_ioctl ( int  fd,
unsigned long  request,
const void *  data 
)

Definition at line 40 of file test_ioctl.cpp.

Variable Documentation

◆ g_ioctl_open

int g_ioctl_open = 0

Definition at line 26 of file test_ioctl.cpp.

◆ g_send_ioctl

int g_send_ioctl = 0

Definition at line 27 of file test_ioctl.cpp.

◆ g_read_ioctl

int g_read_ioctl = 0

Definition at line 28 of file test_ioctl.cpp.

◆ g_write_ioctl

int g_write_ioctl = 0

Definition at line 29 of file test_ioctl.cpp.