2 .\" # Copyright (c) 2014, Juniper Networks, Inc.
3 .\" # All rights reserved.
4 .\" # This SOFTWARE is licensed under the LICENSE provided in the
5 .\" # ../Copyright file. By downloading, installing, copying, or
6 .\" # using the SOFTWARE, you agree to be bound by the terms of that
8 .\" # Phil Shafer, July 2014
15 .Nd emit formatted output based on format string and arguments
21 .Sy typedef int (*xo_write_func_t)(void *, const char *);
23 .Sy typedef void (*xo_close_func_t)(void *);
24 .Fn xo_set_writer "xo_handle_t *handle" "void *opaque"
25 "xo_write_func_t write_func"
26 "xo_close_func_t close_func"
30 function allows custom
38 recorded and passed back to the
40 function, allowing the function
41 to acquire context information. The
44 release this opaque data and any other resources as needed.
45 .Sh ADDITIONAL DOCUMENTATION
47 Complete documentation can be found on github:
48 .Bd -literal -offset indent
49 http://juniper.github.io/libxo/libxo-manual.html
52 libxo lives on github as:
53 .Bd -literal -offset indent
54 https://github.com/Juniper/libxo
57 The latest release of libxo is available at:
58 .Bd -literal -offset indent
59 https://github.com/Juniper/libxo/releases
66 library was added in FreeBSD 11.0.