DC_DESCRIPTOR_GET_PRODUCT(3) Library Functions Manual DC_DESCRIPTOR_GET_PRODUCT(3)

dc_descriptor_get_product
get the product of a dive computer descriptor

library “libdivecomputer”

#include <libdivecomputer/descriptor.h>

const char *
dc_descriptor_get_product(dc_descriptor_t *descriptor);

Gets the product (e.g., “D6i” for my Suunto) of a dive computer descriptor or NULL if none was declared.

This returns the nil-terminated product string or NULL if none exists.

The returned pointer is not valid after the descriptor has been freed.

dc_descriptor_get_vendor(3)

The library “libdivecomputer” library was written by Jef Driesen, jef@libdivecomputer.org. The manpages were written by
Kristaps Dzonsons, kristaps@bsd.lv.
January 5, 2017 NetBSD 10.0