Commit | Line | Data |
---|---|---|
bf0d695d PMF |
1 | /* $OpenBSD: fvwrite.h,v 1.5 2003/06/02 20:18:37 millert Exp $ */ |
2 | ||
c0c0989a MJ |
3 | /* |
4 | * SPDX-License-Identifier: BSD-3-Clause | |
5 | * | |
6 | * Copyright (C) 1990, 1993 | |
bf0d695d PMF |
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. | |
bf0d695d PMF |
11 | */ |
12 | ||
13 | /* | |
14 | * I/O descriptors for __sfvwrite(). | |
15 | */ | |
b4051ad8 FD |
16 | #include <stddef.h> |
17 | ||
002e1fde | 18 | struct __lttng_ust_siov { |
bf0d695d PMF |
19 | void *iov_base; |
20 | size_t iov_len; | |
21 | }; | |
002e1fde MD |
22 | struct __lttng_ust_suio { |
23 | struct __lttng_ust_siov *uio_iov; | |
bf0d695d PMF |
24 | int uio_iovcnt; |
25 | int uio_resid; | |
26 | }; | |
27 | ||
1d18d519 MJ |
28 | extern int __sfvwrite(LTTNG_UST_LFILE *, struct __lttng_ust_suio *) |
29 | __attribute__((visibility("hidden"))); |