/*
* Copyright 1989 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/*
* Copyright (c) 1982, 1986 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
#ifndef _sys_uio_h
#define _sys_uio_h
struct iovec {
int iov_len;
};
/*
* The uio_seg define below is obsolete and is included only
* for compatibility with previous releases. New code should
* use the uio_segflg field.
*/
struct uio {
int uio_iovcnt;
short uio_segflg;
* bits that fill this are an int. */
int uio_resid;
};
/*
* Segment flag values (should be enum).
*
* The UIOSEG_* defines are obsolete and are included only
* for compatibility with previous releases. New code should
* use the UIO_* definitions.
*/
#endif /*!_sys_uio_h*/