DC_IOSTREAM_CLOSE(3) Library Functions Manual DC_IOSTREAM_CLOSE(3)

dc_iostream_close
Close the I/O stream and free all resources.

library “libdivecomputer”

#include <libdivecomputer/iostream.h>
dc_status_t
dc_iostream_close(dc_iostream_t *iostream);

Close the I/O stream and free all resources. Accepts the iostream to close and free.

Returns DC_STATUS_SUCCESS on success, or another dc_status_t code on failure.

dc_usbhid_open(3), dc_serial_open(3), dc_irda_open(3), dc_bluetooth_open(3).

The library “libdivecomputer” library was written by Jef Driesen, jef@libdivecomputer.org.
 
This manpage is written by
Vincent Hagen, vinnie@script4web.nl.
June 5, 2020 Debian