LIBXO(3)               FreeBSD Library Functions Manual               LIBXO(3)

NAME

     xo_flush, xo_flush_h - flush formatted output from libxo handle

LIBRARY

     Text, XML, JSON, and HTML Output Emission Library (libxo, -lxo)

SYNOPSIS

     #include <libxo/xo.h>

     xo_ssize_t
     xo_flush(void);

     xo_ssize_t
     xo_flush_h(xo_handle_t *handle);

DESCRIPTION

     libxo buffers data, both for performance and consistency, but also to
     allow some advanced features to work properly.  At various times, the
     caller may wish to flush any data buffered within the library.  The
     xo_flush() function is used for this.

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 15.1-STABLE-HBSD       December 4, 2014                       LIBXO(3)