Handbook
Glossary
libusb_fill_control_transfer ( transfer dev_handle buffer callback user_data timeout -- )
Vocabulary
libusb
Inputs
transfer
an
object
dev_handle
an
object
buffer
an
object
callback
an
object
user_data
an
object
timeout
an
object
Outputs
None
Definition
USING:
accessors
classes.struct
kernel
math
;
IN:
libusb
::
libusb_fill_control_transfer
( transfer dev_handle buffer callback user_data timeout -- )
transfer dev_handle
>>dev_handle
0
>>endpoint
LIBUSB_TRANSFER_TYPE_CONTROL
>>type
timeout
>>timeout
buffer
>>buffer
user_data
>>user_data
callback
>>callback
buffer
[
libusb_control_setup
memory>struct
wLength>>
LIBUSB_CONTROL_SETUP_SIZE
+
]
[
0
]
if*
>>length
drop
;
inline