LIBXO(3) | MidnightBSD Library Functions Manual | LIBXO(3) |
xo_error
—
generate simple error messages in multiple output
styles
Text, XML, JSON, and HTML Output Emission Library (libxo, -lxo)
#include
<libxo/xo.h>
void
xo_error
(const
char *fmt,
...);
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.
The libxo
library first appeared in
FreeBSD 11.0.
libxo
was written by Phil
Shafer
<phil@freebsd.org>.
December 4, 2014 | midnightbsd-3.1 |