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 | ||
e88c7263 MJ |
18 | #include "ust-helper.h" |
19 | ||
002e1fde | 20 | struct __lttng_ust_siov { |
bf0d695d PMF |
21 | void *iov_base; |
22 | size_t iov_len; | |
23 | }; | |
002e1fde MD |
24 | struct __lttng_ust_suio { |
25 | struct __lttng_ust_siov *uio_iov; | |
bf0d695d PMF |
26 | int uio_iovcnt; |
27 | int uio_resid; | |
28 | }; | |
29 | ||
e88c7263 | 30 | LTTNG_HIDDEN |
002e1fde | 31 | extern int __sfvwrite(LTTNG_UST_LFILE *, struct __lttng_ust_suio *); |