Move all sources to 'src/'
[lttng-ust.git] / src / snprintf / fvwrite.h
diff --git a/src/snprintf/fvwrite.h b/src/snprintf/fvwrite.h
new file mode 100644 (file)
index 0000000..3fabf5f
--- /dev/null
@@ -0,0 +1,29 @@
+/*     $OpenBSD: fvwrite.h,v 1.5 2003/06/02 20:18:37 millert Exp $     */
+
+/*
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
+ * Copyright (C) 1990, 1993
+ *     The Regents of the University of California.  All rights reserved.
+ *
+ * This code is derived from software contributed to Berkeley by
+ * Chris Torek.
+ */
+
+/*
+ * I/O descriptors for __sfvwrite().
+ */
+#include <stddef.h>
+
+struct __lttng_ust_siov {
+       void    *iov_base;
+       size_t  iov_len;
+};
+struct __lttng_ust_suio {
+       struct  __lttng_ust_siov *uio_iov;
+       int     uio_iovcnt;
+       int     uio_resid;
+};
+
+extern int __sfvwrite(LTTNG_UST_LFILE *, struct __lttng_ust_suio *)
+       __attribute__((visibility("hidden")));
This page took 0.044137 seconds and 4 git commands to generate.