1DC_DEVICE_CLOSE(3)       BSD Library Functions Manual       DC_DEVICE_CLOSE(3)
2

NAME

4     dc_device_close — close a dive computer device
5

LIBRARY

7     library “libdivecomputer”
8

SYNOPSIS

10     #include <libdivecomputer/device.h>
11
12     dc_status_t
13     dc_device_close(dc_device_t *device);
14

DESCRIPTION

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

RETURN VALUES

20     Returns DC_STATUS_SUCCESS on success or one of several error values on
21     error.
22

SEE ALSO

24     dc_device_open(3)
25

AUTHORS

27     The library “libdivecomputer” library was written by Jef Driesen,
28     jef@libdivecomputer.org.  The manpages were written by
29     Kristaps Dzonsons, kristaps@bsd.lv.
30
31BSD                             January 5, 2017                            BSD
Impressum