xref: /freebsd/contrib/libxo/libxo/xo_flush.3 (revision d6b92ffa)
1.\" #
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
7.\" # LICENSE.
8.\" # Phil Shafer, July 2014
9.\"
10.Dd December 4, 2014
11.Dt LIBXO 3
12.Os
13.Sh NAME
14.Nm xo_flush , xo_flush_h
15.Nd flush formatted output from libxo handle
16.Sh LIBRARY
17.Lb libxo
18.Sh SYNOPSIS
19.In libxo/xo.h
20.Ft void
21.Fn xo_flush "void"
22.Ft void
23.Fn xo_flush_h "xo_handle_t *handle"
24.Sh DESCRIPTION
25.Nm libxo
26buffers data, both for performance and consistency, but also to
27allow some advanced features to work properly.
28At various times, the
29caller may wish to flush any data buffered within the library.
30The
31.Fn xo_flush
32function is used for this.
33.Sh SEE ALSO
34.Xr xo_emit 3 ,
35.Xr libxo 3
36