| DC_DEVICE_OPEN(3) | Library Functions Manual | DC_DEVICE_OPEN(3) | 
dc_device_open —
#include
  <libdivecomputer/device.h>
dc_status_t
  
  dc_device_open(dc_device_t
    **device, dc_context_t *context,
    dc_descriptor_t *descriptor,
    dc_iostream_t *iostream);
Upon returning DC_STATUS_SUCCESS, the
    device pointer must be freed with
    dc_device_close(3).
DC_STATUS_SUCCESS on success or one of several
  error values on error. On success, the device pointer is
  filled in with an open handle.
| June 5, 2020 | NetBSD 9.0 |