History log of /haiku/headers/posix/sys/uio.h
Revision Date Author Comments
# fc03b45a 11-Mar-2021 Niels Sascha Reedijk <niels.reedijk@gmail.com>

POSIX: make readv() and writev() conform to IEEE Std 1003.1-2001

The standardized version of readv() and writev() take an int as the third
parameter. Arguably a size_t makes more sense, but the standardization bodies
decided otherwise.

The non-standard functions of readv_pos() and writev_pos() have been updated
for consistency. The corresponding _kern_readv() and _kern_writev() internal
functions continue to take the size_t parameter.

The ABI will not change, even though on 64 bit machines the size of the count
parameter will change from 8 to 4 bytes.

The actual use will be slightly different. Like with the size_t argument type,
it will not be possible to give a count lower than 0. If the value is less than
0, then the B_BAD_VALUE/EINVAL error will be set.

Change-Id: I949c8ed67dbc0b4e209768cbdee554c929fc242e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3770
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>


# 173f54f1 19-Jul-2012 Matt Madia <mattmadia@gmail.com>

Updated copyright in headers. No functional change.


# 0fae8733 03-Nov-2010 Scott McCreary <scottmc2@gmail.com>

Updated posix headers to remove commas from copyright line, to match the preferred coding guidelines.
Cleaned up some header style violations, making sure there are two blank lines after the header guards.
This fixes the posix header part of #2191.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39288 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5adca30a 07-Aug-2006 Axel Dörfler <axeld@pinc-software.de>

Merge of branches/team/network/new_stack - not yet complete as SVN does only support
replacing files when merging when you don't have deleted them manually (for some reason,
it only works as part of the merge operation, and we didn't copy the whole tree to
have "a fresh start" - next time we know better, at least if SVN still suffers from
that same limitation).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18456 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 496d0bc3 08-Sep-2004 Waldemar Kornewald <wkornew@nowhere.fake>

Moved uio struct to core_private.h.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8893 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 15288c90 05-Sep-2004 Waldemar Kornewald <wkornew@nowhere.fake>

Fixed the build of our netstack.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8857 a95241bf-73f2-0310-859d-f6bbb57e9c96


# cc90b179 01-Sep-2004 Axel Dörfler <axeld@pinc-software.de>

Removed unsupported cruft from uio.h (uiomove()).
Made header C++ safe.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8780 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e8038705 09-Feb-2003 Philippe Houdoin <philippe.houdoin@gmail.com>

Forgot to commit these... Should fix network stuff build issues.
Add again the load_driver_symbols() export into our KernelExport.h, as it's expected
by many kernel add-ons (drivers, modules)... the network ones, for a start.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2672 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9fc71646 23-Oct-2002 beveloper <beveloper@nowhere.fake>

allow building everything without local(tree external) header files beeing
used for kernel or kit components


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1630 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4b111a88 12-Jul-2002 David Reid <dreid@nowhere.fake>

Add this in the correct place.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@112 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 173f54f1473bd6a6511c5fc6dc899c91fb8dd667 19-Jul-2012 Matt Madia <mattmadia@gmail.com>

Updated copyright in headers. No functional change.


# 0fae873352b02792db93f721c1a2ff6b240c8ecc 03-Nov-2010 Scott McCreary <scottmc2@gmail.com>

Updated posix headers to remove commas from copyright line, to match the preferred coding guidelines.
Cleaned up some header style violations, making sure there are two blank lines after the header guards.
This fixes the posix header part of #2191.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39288 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5adca30a18617cc25bc50a9a12e2fe6539412ccb 07-Aug-2006 Axel Dörfler <axeld@pinc-software.de>

Merge of branches/team/network/new_stack - not yet complete as SVN does only support
replacing files when merging when you don't have deleted them manually (for some reason,
it only works as part of the merge operation, and we didn't copy the whole tree to
have "a fresh start" - next time we know better, at least if SVN still suffers from
that same limitation).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18456 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 496d0bc32fe2f6aff4e9218cebafb59e3e12635d 08-Sep-2004 Waldemar Kornewald <wkornew@nowhere.fake>

Moved uio struct to core_private.h.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8893 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 15288c90132becb7c13531ace87cba5d743e166f 05-Sep-2004 Waldemar Kornewald <wkornew@nowhere.fake>

Fixed the build of our netstack.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8857 a95241bf-73f2-0310-859d-f6bbb57e9c96


# cc90b1798ab70a49bfee713d35104965be22c701 01-Sep-2004 Axel Dörfler <axeld@pinc-software.de>

Removed unsupported cruft from uio.h (uiomove()).
Made header C++ safe.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8780 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e803870545c64005bf53339217a04d4fa0ca051a 09-Feb-2003 Philippe Houdoin <philippe.houdoin@gmail.com>

Forgot to commit these... Should fix network stuff build issues.
Add again the load_driver_symbols() export into our KernelExport.h, as it's expected
by many kernel add-ons (drivers, modules)... the network ones, for a start.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2672 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9fc7164698d6f33ed1a1d311078bd7c2f73e6a75 23-Oct-2002 beveloper <beveloper@nowhere.fake>

allow building everything without local(tree external) header files beeing
used for kernel or kit components


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1630 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4b111a88c1a52663ea16a2121572cb28ef0f67a8 12-Jul-2002 David Reid <dreid@nowhere.fake>

Add this in the correct place.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@112 a95241bf-73f2-0310-859d-f6bbb57e9c96