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