--- Net2/sys/uio.h 2018/04/24 18:03:58 1.1 +++ Net2/sys/uio.h 2018/04/24 18:16:50 1.1.1.2 @@ -30,11 +30,12 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * @(#)uio.h 7.8 (Berkeley) 4/15/91 + * from: @(#)uio.h 7.8 (Berkeley) 4/15/91 + * uio.h,v 1.4 1993/06/27 05:59:11 andrew Exp */ -#ifndef _UIO_H_ -#define _UIO_H_ +#ifndef _SYS_UIO_H_ +#define _SYS_UIO_H_ struct iovec { caddr_t iov_base; @@ -75,8 +76,13 @@ struct uio { __BEGIN_DECLS int readv __P((int, const struct iovec *, int)); int writev __P((int, const struct iovec *, int)); +int uiomove __P((caddr_t cp, int n, struct uio *uio)); +int uioapply __P((int (*func)(), int arg1, int arg2, + struct uio *uio)); +int ureadc __P((int c, struct uio *uio)); +int uwritec __P((struct uio *uio)); __END_DECLS #endif /* !KERNEL */ -#endif /* !_UIO_H_ */ +#endif /* !_SYS_UIO_H_ */