source: trunk/src/emx/include/sys/uio.h@ 213

Last change on this file since 213 was 187, checked in by bird, 23 years ago

TCPV40HDRS function wrappers.

  • Property cvs2svn:cvs-rev set to 1.3
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 1.1 KB
Line 
1/* sys/uio.h (emx+gcc) */
2
3#ifndef _SYS_UIO_H
4#define _SYS_UIO_H
5#define _SYS_UIO_H_ /*toolkit pollution*/
6
7#if defined (__cplusplus)
8extern "C" {
9#endif
10
11struct iovec
12{
13 caddr_t iov_base;
14#if defined(__32BIT__) && !defined(TCPV40HDRS)
15 size_t iov_len;
16#else
17 int iov_len;
18#endif
19};
20
21
22/* needed for sys\socket.h TCPIPV4 now */
23#ifdef TCPV40HDRS
24struct uio {
25 struct iovec *uio_iov;
26 int uio_iovcnt;
27 off_t uio_offset;
28 int uio_segflg;
29 unsigned int uio_resid;
30};