xo_finish_h, libxo, xo_finish(3) | finish formatting output |
xo_finish, libxo, xo_finish_h(3) | finish formatting output |
LIBXO(3) | MidnightBSD Library Functions Manual | LIBXO(3) |
xo_finish
,
xo_finish_h
— finish
formatting output
Text, XML, JSON, and HTML Output Emission Library (libxo, -lxo)
#include
<libxo/xo.h>
xo_ssize_t
xo_finish
(void);
xo_ssize_t
xo_finish_h
(xo_handle_t
*xop);
When the program is ready to exit or close a handle, a call to
xo_finish
()
is required. This flushes any buffered data, closes open
libxo
constructs, and completes any pending
operations.
Calling this function is vital to the proper operation of libxo, especially for the non-TEXT output styles.
The libxo
library first appeared in
FreeBSD 11.0.
libxo
was written by Phil
Shafer
<phil@freebsd.org>.
December 4, 2014 | midnightbsd-3.1 |