FreeBSD manual
download PDF document: xo_error.3.pdf
LIBXO(3) FreeBSD Library Functions Manual LIBXO(3)
NAME
xo_error - generate simple error messages in multiple output styles
LIBRARY
Text, XML, JSON, and HTML Output Emission Library (libxo, -lxo)
SYNOPSIS
#include <libxo/xo.h>
void
xo_error(const char *fmt, ...);
DESCRIPTION
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.
SEE ALSO
printf(3), 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