DC_DESCRIPTOR_GET_PRODUCT(3)

πŸ“¦ version 0.9.0, in nixos 26.05, nixpkgs unstable

πŸ’– dc_descriptor_get_product(3) πŸ’–

okay so welcome to the dc_descriptor_get_product(3) page, bestie β€” it lives in the Library Functions Manual and it's literally here to help you read a dive computer descriptor's product name. slay.


🌸 NAME 🌸

dc_descriptor_get_product β€” get the product of a dive computer descriptor. no cap, that's the whole vibe.

πŸ“š LIBRARY πŸ“š

library β€œlibdivecomputer” β€” yes, that one. πŸ’…

✨ SYNOPSIS ✨

#include <libdivecomputer/descriptor.h>

const char *
dc_descriptor_get_product(const dc_descriptor_t *descriptor);

🫢 DESCRIPTION 🫢

Gets the product of a dive computer descriptor β€” like, for example, the string D6i for my Suunto β€” or NULL if none was declared. it's giving "tell me what model this is" energy.

😭 RETURN VALUES 😭

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

⚠️ heads up bestie: the returned pointer is not valid after the descriptor has been freed. like, expired-link energy β€” do not touch it after that. fr fr.

πŸ‘€ SEE ALSO πŸ‘€

πŸ‘‘ AUTHORS πŸ‘‘

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


made with πŸ’– on Debian, January 5, 2017 β€” page DC_DESCRIPTOR_GET_PRODUCT(3), periodt. πŸŽ€

πŸ“¦ where this page comes from