source:
trunk/src/emx/include/sys/uio.h@
213
| Last change on this file since 213 was 187, checked in by , 23 years ago | |
|---|---|
|
|
| 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) |
| 8 | extern "C" { |
| 9 | #endif |
| 10 | |
| 11 | struct 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 |
| 24 | struct 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 | }; |
