![]() |
![]()
| ![]() |
![]()
NAME
LIBRARYlibrary “libdivecomputer” SYNOPSIS
dc_status_t
DESCRIPTIONGets all descriptors available to library
“libdivecomputer”. It must be matched with
dc_iterator_free(3)
if the return value is RETURN VALUESThis returns EXAMPLESThe following iterates over all descriptors, printing the vendor, then frees the iterator. It does no error checking. dc_descriptor_iterator(&iter)); while (dc_iterator_next(iter, &desc) == DC_STATUS_SUCCESS) { printf("%s\n", dc_descriptor_get_vendor(desc)); dc_descriptor_free(desc); } dc_iterator_free(iter); SEE ALSOdc_descriptor_free(3), dc_iterator_free(3), dc_iterator_next(3) AUTHORSThe library
“libdivecomputer” library was written by
Jef Driesen,
jef@libdivecomputer.org.
The manpages were written by
|