xo_error(3)

xo_error3

Generate simple error messages in multiple output styles

Usage

void

Library

library “libxo”

Overview

Use the xo_error() function to generate error messages to standard error. The fmt argument is a string containing printf-style formatting instructions that describe the remaining arguments.

When converting an application to libxo, one can replace fprintf(stderr,...) calls with xo_error() calls.

Releases

25 releases since FreeBSD 11.0-RELEASE; the text changed 1 time.

  1. 11.0–11.1
  2. 11.2–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.