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