FreeBSD manual
download PDF document: xo_finish.3.pdf
LIBXO(3) FreeBSD Library Functions Manual LIBXO(3)
NAME
xo_finish, xo_finish_h - finish formatting output
LIBRARY
Text, XML, JSON, and HTML Output Emission Library (libxo, -lxo)
SYNOPSIS
#include <libxo/xo.h>
xo_ssize_t
xo_finish(void);
xo_ssize_t
xo_finish_h(xo_handle_t *xop);
DESCRIPTION
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.
SEE ALSO
xo_emit(3), libxo(3)
HISTORY
The libxo library first appeared in FreeBSD 11.0.
AUTHORS
libxo was written by Phil Shafer <phil@freebsd.org>.
FreeBSD 14.0-RELEASE-p11 December 4, 2014 FreeBSD 14.0-RELEASE-p11