1139825Simp/*-
2108366Sphk * Copyright (c) 1982, 1986, 1993, 1994
3108366Sphk *	The Regents of the University of California.  All rights reserved.
4108366Sphk *
5108366Sphk * Redistribution and use in source and binary forms, with or without
6108366Sphk * modification, are permitted provided that the following conditions
7108366Sphk * are met:
8108366Sphk * 1. Redistributions of source code must retain the above copyright
9108366Sphk *    notice, this list of conditions and the following disclaimer.
10108366Sphk * 2. Redistributions in binary form must reproduce the above copyright
11108366Sphk *    notice, this list of conditions and the following disclaimer in the
12108366Sphk *    documentation and/or other materials provided with the distribution.
13108366Sphk * 4. Neither the name of the University nor the names of its contributors
14108366Sphk *    may be used to endorse or promote products derived from this software
15108366Sphk *    without specific prior written permission.
16108366Sphk *
17108366Sphk * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
18108366Sphk * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19108366Sphk * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20108366Sphk * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
21108366Sphk * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22108366Sphk * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23108366Sphk * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24108366Sphk * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25108366Sphk * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26108366Sphk * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27108366Sphk * SUCH DAMAGE.
28108366Sphk *
29108366Sphk *	@(#)uio.h	8.5 (Berkeley) 2/22/94
30108366Sphk * $FreeBSD$
31108366Sphk */
32108366Sphk
33108366Sphk#ifndef _SYS__IOVEC_H_
34108366Sphk#define	_SYS__IOVEC_H_
35108366Sphk
36111567Smike#include <sys/_types.h>
37111567Smike
38111567Smike#ifndef _SIZE_T_DECLARED
39111567Smiketypedef	__size_t	size_t;
40111567Smike#define	_SIZE_T_DECLARED
41111567Smike#endif
42111567Smike
43108366Sphkstruct iovec {
44108366Sphk	void	*iov_base;	/* Base address. */
45108366Sphk	size_t	 iov_len;	/* Length. */
46108366Sphk};
47108366Sphk
48108366Sphk#endif /* !_SYS__IOVEC_H_ */
49