1LIBXO(3) BSD Library Functions Manual LIBXO(3)
2
4 xo_error — generate simple error messages in multiple output styles
5
7 library “libxo”
8
10 #include <libxo/xo.h>
11
12 void
13 xo_error(const char *fmt, ...);
14
16 Use the xo_error() function to generate error messages to standard error.
17 The fmt argument is a string containing printf-style formatting instruc‐
18 tions that describe the remaining arguments.
19
20 When converting an application to libxo, one can replace
21 fprintf(stderr,...) calls with xo_error() calls.
22
24 printf(3), xo_emit(3), libxo(3)
25
27 The libxo library first appeared in FreeBSD 11.0.
28
30 libxo was written by Phil Shafer <phil@freebsd.org>.
31
32
34 FreeBSD uses libxo version 1.6.0. Complete documentation can be found on
35 github:
36
37 https://juniper.github.io/libxo/1.6.0/html/index.html
38
39 libxo lives on github as:
40
41 https://github.com/Juniper/libxo
42
43 The latest release of libxo is available at:
44
45 https://github.com/Juniper/libxo/releases
46
48 The libxo library was added in FreeBSD 11.0.
49
51 Phil Shafer
52
53BSD December 4, 2014 BSD