Fix: pass private data to context callbacks
[lttng-ust.git] / snprintf / fvwrite.h
1 /* $OpenBSD: fvwrite.h,v 1.5 2003/06/02 20:18:37 millert Exp $ */
2
3 /*
4 * SPDX-License-Identifier: BSD-3-Clause
5 *
6 * Copyright (C) 1990, 1993
7 * The Regents of the University of California. All rights reserved.
8 *
9 * This code is derived from software contributed to Berkeley by
10 * Chris Torek.
11 */
12
13 /*
14 * I/O descriptors for __sfvwrite().
15 */
16 #include <stddef.h>
17
18 struct __lttng_ust_siov {
19 void *iov_base;
20 size_t iov_len;
21 };
22 struct __lttng_ust_suio {
23 struct __lttng_ust_siov *uio_iov;
24 int uio_iovcnt;
25 int uio_resid;
26 };
27
28 extern int __sfvwrite(LTTNG_UST_LFILE *, struct __lttng_ust_suio *)
29 __attribute__((visibility("hidden")));
This page took 0.031031 seconds and 4 git commands to generate.