comparison tango/tango/stdc/posix/sys/uio.d @ 132:1700239cab2e trunk

[svn r136] MAJOR UNSTABLE UPDATE!!! Initial commit after moving to Tango instead of Phobos. Lots of bugfixes... This build is not suitable for most things.
author lindquist
date Fri, 11 Jan 2008 17:57:40 +0100
parents
children
comparison
equal deleted inserted replaced
131:5825d48b27d1 132:1700239cab2e
1 /**
2 * D header file for POSIX.
3 *
4 * Copyright: Public Domain
5 * License: Public Domain
6 * Authors: Sean Kelly
7 * Standards: The Open Group Base Specifications Issue 6, IEEE Std 1003.1, 2004 Edition
8 */
9 module tango.stdc.posix.sys.uio;
10
11 private import tango.stdc.posix.config;
12 public import tango.stdc.posix.sys.types; // for ssize_t, size_t
13
14 extern (C):
15
16 //
17 // Required
18 //
19 /*
20 struct iovec
21 {
22 void* iov_base;
23 size_t iov_len;
24 }
25
26 ssize_t // from tango.stdc.posix.sys.types
27 size_t // from tango.stdc.posix.sys.types
28
29 ssize_t readv(int, iovec*, int);
30 ssize_t writev(int, iovec*, int);
31 */
32
33 version( linux )
34 {
35 struct iovec
36 {
37 void* iov_base;
38 size_t iov_len;
39 }
40
41 ssize_t readv(int, iovec*, int);
42 ssize_t writev(int, iovec*, int);
43 }