DC_DEVICE_CLOSE(3) Library Functions Manual DC_DEVICE_CLOSE(3)

close a dive computer device

library “libdivecomputer”

#include <libdivecomputer/device.h>
dc_device_close(dc_device_t *device);

Closes a dive computer device opened with dc_device_open(3). If device is NULL, this returns DC_STATUS_SUCCESS.

Returns DC_STATUS_SUCCESS on success or one of several error values on error.


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