dc_descriptor_get_vendor man page

dc_descriptor_get_vendor — get the vendor of a dive computer descriptor

Library

library “libdivecomputer”

Synopsis

#include <libdivecomputer/descriptor.h>

const char *
dc_descriptor_get_vendor(dc_descriptor_t *descriptor);

Description

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

Return Values

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

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

See Also

dc_descriptor_get_product(3)

Authors

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

Referenced By

dc_descriptor_get_product(3).

January 5, 2017