Scroll to navigation

USB_URB_DIR_IN(9) Host-Side Data Types and Macro USB_URB_DIR_IN(9)

NAME

usb_urb_dir_in - check if an URB describes an IN transfer

SYNOPSIS

int usb_urb_dir_in(struct urb * urb);

ARGUMENTS

urb

URB to be checked

RETURN

1 if urb describes an IN transfer (device-to-host), otherwise 0.

COPYRIGHT

January 2017 Kernel Hackers Manual 4.8.