xref: /original-bsd/lib/libc/stdio/fvwrite.h (revision 5000927f)
1 /*-
2  * Copyright (c) 1990, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * This code is derived from software contributed to Berkeley by
6  * Chris Torek.
7  *
8  * %sccs.include.redist.c%
9  *
10  *	@(#)fvwrite.h	8.1 (Berkeley) 06/04/93
11  */
12 
13 /*
14  * I/O descriptors for __sfvwrite().
15  */
16 struct __siov {
17 	void	*iov_base;
18 	size_t	iov_len;
19 };
20 struct __suio {
21 	struct	__siov *uio_iov;
22 	int	uio_iovcnt;
23 	int	uio_resid;
24 };
25 
26 #if __STDC__ || c_plusplus
27 extern int __sfvwrite(FILE *, struct __suio *);
28 #else
29 extern int __sfvwrite();
30 #endif
31