DC_DESCRIPTOR_GET_MODEL(3) FreeBSD Library Functions Manual DC_DESCRIPTOR_GET_MODEL(3)

dc_descriptor_get_modelget the model of a dive computer descriptor

library “libdivecomputer”

#include <libdivecomputer/descriptor.h>

unsigned int
dc_descriptor_get_model(dc_descriptor_t *descriptor);

Gets the model number of a dive computer descriptor or 0 if none was defined for the computer. 0 is also a valid model number.

This returns the model number or 0 if none exists.

dc_descriptor_iterator(3)

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

August 19, 2018 FreeBSD 14.3-RELEASE