hid_exit method
@brief Finalize the HIDAPI library.
This function frees all of the static data associated with HIDAPI. It should be called at the end of execution to avoid memory leaks.
@ingroup API
@returns This function returns 0 on success and -1 on error.
Implementation
int hid_exit() {
return _hid_exit();
}