1DC_CONTEXT_FREE(3) BSD Library Functions Manual DC_CONTEXT_FREE(3)
2
4 dc_context_free — free a device-handling context
5
7 library “libdivecomputer”
8
10 #include <libdivecomputer/context.h>
11
12 dc_status_t
13 dc_context_free(dc_context_t *context);
14
16 Free a context created by dc_context_new(3).
17
19 This returns DC_STATUS_OK on success or if the pointer is NULL. Other‐
20 wise, it returns an error code.
21
23 dc_context_new(3)
24
26 The library “libdivecomputer” library was written by Jef Driesen,
27 jef@libdivecomputer.org. The manpages were written by
28 Kristaps Dzonsons, kristaps@bsd.lv.
29
30BSD January 5, 2017 BSD