#ifndef __UIO_LOADED #define __UIO_LOADED 1 /**************************************************************************** ** ** - definitions for vector I/O operations ** ***************************************************************************** ** Header introduced by the X/Open CAE Specification, Issue 4, Version 2 ***************************************************************************** ** ** Copyright 2000 Compaq Computer Corporation ** ** Compaq and the Compaq logo Registered in U.S. Patent and Trademark Office. ** ** Confidential computer software. Valid license from Compaq required for ** possession, use or copying. Consistent with FAR 12.211 and 12.212, ** Commercial Computer Software, Computer Software Documentation, and ** Technical Data for Commercial Items are licensed to the U.S. Government ** under vendor's standard commercial license. ** ****************************************************************************** */ #pragma __nostandard #include #ifdef __cplusplus extern "C" { #endif #if __INITIAL_POINTER_SIZE # pragma __pointer_size __save # pragma __pointer_size 32 #endif /* ** All structures should be member aligned on natural boundaries */ #pragma __member_alignment __save #pragma __member_alignment /* ** Iovec Structure: I/O buffer element for vector I/O operations. ** ** The iovec structure describes one scatter/gather buffer. ** Multiple scatter/gather buffer descriptors are stored as an ** array of iovec elements. */ #ifdef _XOPEN_SOURCE_EXTENDED struct iovec { void *iov_base; /* A pointer to a buffer. */ __size_t iov_len; /* The size of the buffer to which ** iov_base points */ }; struct __Oiovec { #else struct iovec { #endif __caddr_t iov_base; int iov_len; }; #if __CRTL_VER >= 70300000 __ssize_t writev(int __fildes, const struct iovec *__iov, int __iovcnt); #endif /* ** Restore the users pointer context */ #if __INITIAL_POINTER_SIZE # pragma __pointer_size __restore #endif #ifdef __cplusplus } #endif #pragma __member_alignment __restore #pragma __standard #endif /* __UIO_LOADED */