1DC_DESCRIPTOR_GET_PRO... BSD Library Functions Manual DC_DESCRIPTOR_GET_PRO...
2

NAME

4     dc_descriptor_get_product — get the product of a dive computer descriptor
5

LIBRARY

7     library “libdivecomputer”
8

SYNOPSIS

10     #include <libdivecomputer/descriptor.h>
11
12     const char *
13     dc_descriptor_get_product(dc_descriptor_t *descriptor);
14

DESCRIPTION

16     Gets the product (e.g., “D6i” for my Suunto) of a dive computer descrip‐
17     tor or NULL if none was declared.
18

RETURN VALUES

20     This returns the nil-terminated product string or NULL if none exists.
21
22     The returned pointer is not valid after the descriptor has been freed.
23

SEE ALSO

25     dc_descriptor_get_vendor(3)
26

AUTHORS

28     The library “libdivecomputer” library was written by Jef Driesen,
29     jef@libdivecomputer.org.  The manpages were written by
30     Kristaps Dzonsons, kristaps@bsd.lv.
31
32BSD                             January 5, 2017                            BSD
Impressum