DC_CONTEXT_FREE(3) Library Functions Manual DC_CONTEXT_FREE(3)

dc_context_free
free a device-handling context

library “libdivecomputer”

#include <libdivecomputer/context.h>
dc_status_t
dc_context_free(dc_context_t *context);

Free a context created by dc_context_new(3).

This returns DC_STATUS_OK on success or if the pointer is NULL. Otherwise, it returns an error code.

dc_context_new(3)

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