DC_USBHID_DEVICE_FREE(3)

πŸ“¦ version 0.9.0, in nixos 26.05, nixpkgs unstable

πŸ’– DC_USBHID_DEVICE_FREE(3) πŸ’–

hiii bestie, welcome to the dc_usbhid_device_free(3) page from the Library Functions Manual β€” yes, the manual name is right there, we’re being thorough, periodt πŸ’…

πŸ“š LIBRARY πŸ“š

library β€œlibdivecomputer” ✨

πŸŽ€ SYNOPSIS πŸŽ€

#include <libdivecomputer/usbhid.h>

void
dc_usbhid_device_free(dc_usbhid_device_t *device);

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this one is the cleanup era: dc_usbhid_device_free destroys the USB HID device and frees all resources. No cap, that’s the whole job. The usbhid device is usually found by searching through dc_usbhid_iterator_new(3), iykyk 🫢

πŸ”Ž SEE ALSO πŸ”Ž

πŸ‘‘ AUTHORS πŸ‘‘

The library β€œlibdivecomputer” was written by Jef Driesen, jef@libdivecomputer.org.

This manpage is written by Vincent Hagen, vinnie@script4web.nl.


Debian β€’ June 5, 2020 β€’ DC_USBHID_DEVICE_FREE(3) β€” mwah, ily πŸ’‹

πŸ“¦ where this page comes from