xo_finish(3)

xo_finish3

Finish formatting output

Usage

#include <libxo/xo.h>

xo_ssize_t

xo_finish(void);

xo_ssize_t

xo_finish_h(xo_handle_t *xop);

Library

library “libxo”

Overview

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.

Releases

25 releases since FreeBSD 11.0-RELEASE; the text changed 2 times.

  1. 11.0–11.1
  2. 11.2–12.4
  3. 13.0–16.0

History

The libxo library first appeared in FreeBSD 11.0.

Authors

libxo was written by Phil Shafer ⟨[email protected]⟩.

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.