- Added missing man pages for the new functions. - Updated the main libdivecomputer man page to reflect the new flow. - Fixed minor typos in the dc_parser_get_field and dc_parser_samples_foreach functions.
61 lines
1.6 KiB
Groff
61 lines
1.6 KiB
Groff
.\"
|
|
.\" libdivecomputer
|
|
.\"
|
|
.\" Copyright (C) 2020 Vincent Hagen <vinnie@script4web.nl>
|
|
.\"
|
|
.\" This library is free software; you can redistribute it and/or
|
|
.\" modify it under the terms of the GNU Lesser General Public
|
|
.\" License as published by the Free Software Foundation; either
|
|
.\" version 2.1 of the License, or (at your option) any later version.
|
|
.\"
|
|
.\" This library is distributed in the hope that it will be useful,
|
|
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
.\" Lesser General Public License for more details.
|
|
.\"
|
|
.\" You should have received a copy of the GNU Lesser General Public
|
|
.\" License along with this library; if not, write to the Free Software
|
|
.\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
|
.\" MA 02110-1301 USA
|
|
.\"
|
|
.Dd June 5, 2020
|
|
.Dt DC_IOSTREAM_CLOSE 3
|
|
.Os
|
|
.Sh NAME
|
|
.Nm dc_iostream_close
|
|
.Nd Close the I/O stream and free all resources.
|
|
.Sh LIBRARY
|
|
.Lb libdivecomputer
|
|
.Sh SYNOPSIS
|
|
.In libdivecomputer/iostream.h
|
|
.Ft dc_status_t
|
|
.Fo dc_iostream_close
|
|
.Fa "dc_iostream_t *iostream"
|
|
.Fc
|
|
.Sh DESCRIPTION
|
|
Close the I/O stream and free all resources.
|
|
Accepts the
|
|
.Fa iostream
|
|
to close and free.
|
|
.Sh RETURN VALUES
|
|
Returns
|
|
.Dv DC_STATUS_SUCCESS
|
|
on success, or another
|
|
.Ft dc_status_t
|
|
code on failure.
|
|
.Sh SEE ALSO
|
|
.Xr dc_usbhid_open 3 ,
|
|
.Xr dc_serial_open 3 ,
|
|
.Xr dc_irda_open 3 ,
|
|
.Xr dc_bluetooth_open 3 .
|
|
.Sh AUTHORS
|
|
The
|
|
.Lb libdivecomputer
|
|
library was written by
|
|
.An Jef Driesen ,
|
|
.Mt jef@libdivecomputer.org .
|
|
.br
|
|
This manpage is written by
|
|
.An Vincent Hagen ,
|
|
.Mt vinnie@script4web.nl .
|