xo_finish - Man Page
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
History
The libxo library first appeared in FreeBSD 11.0.
Authors
libxo was written by Phil Shafer <phil@freebsd.org>.
Additional Documentation
FreeBSD uses libxo version 1.7.5. Complete documentation can be found on github:
https://juniper.github.io/libxo/1.7.5/html/index.html
libxo lives on github as:
https://github.com/Juniper/libxo
The latest release of libxo is available at:
https://github.com/Juniper/libxo/releases
History
The libxo library was added in FreeBSD 11.0.
Author
Phil Shafer