MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / hid_read

Function hid_read

lib/hidapi/linux/hid.c:1095–1098  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1093}
1094
1095int HID_API_EXPORT hid_read(hid_device *dev, unsigned char *data, size_t length)
1096{
1097 return hid_read_timeout(dev, data, length, (dev->blocking)? -1: 0);
1098}
1099
1100int HID_API_EXPORT hid_set_nonblocking(hid_device *dev, int nonblock)
1101{

Callers

nothing calls this directly

Calls 1

hid_read_timeoutFunction · 0.70

Tested by

no test coverage detected