Fix the file position handling of the read and write calls
authorArne Redlich <arne.redlich@googlemail.com>
Mon, 31 Mar 2014 21:40:26 +0000 (23:40 +0200)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Fri, 4 Apr 2014 01:05:32 +0000 (18:05 -0700)
Since the interface is modelled after the libc calls we should try to match
their behaviour to avoid unpleasant surprises:
* read / write (sync and async flavours) update the file position
* pread / pwrite (sync and async flavours) do not update the file position
.

Signed-off-by: Arne Redlich <arne.redlich@googlemail.com>

No differences found