DC_DESCRIPTOR_FREE(3)
β¨ NAME β¨
dc_descriptor_free β free a dive computer descriptor reference, bestie! This is the DC_DESCRIPTOR_FREE(3) page from the Library Functions Manual, and it's here to help you clean up responsibly π
π«Ά LIBRARY π«Ά
It's from the library libdivecomputer β¨
π SYNOPSIS π
#include <libdivecomputer/descriptor.h>
void
dc_descriptor_free(dc_descriptor_t *descriptor);
π DESCRIPTION π
Okay so this function frees a descriptor β usually one that came back from dc_iterator_next(3) and was created with dc_descriptor_iterator_new(3). That's the whole vibe π¦
And good news: it's safe to pass NULL to this function. No drama, no cap π
π 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.
This page is serving Debian energy, dated January 5, 2017, and it's DC_DESCRIPTOR_FREE(3) β bye bestie, slay your frees π
π
π¦ where this page comes from
- nixos 26.05: libdivecomputer 0.9.0
- nixpkgs unstable: libdivecomputer 0.9.0
- Copyright (C) 2017 Kristaps Dzonsons <kristaps@bsd.lv>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms