On 17 December 2014 at 12:02, Ilya Palachev <i.palac...@samsung.com> wrote: > According to official standard POSIX.1-2001. pread64 and pwrite64 > should return 0 for zero-length buffers as mentioned at > > http://pubs.opengroup.org/onlinepubs/009695399/functions/read.html > http://pubs.opengroup.org/onlinepubs/009695399/functions/write.html > > Change-Id: Icd66ea29658329fbd5e6461d1def0c78c81d2671 > Signed-off-by: Ilya Palachev <i.palac...@samsung.com>
If this is a problem, doesn't it apply to more syscalls than just pread64 and pwrite64 ? -- PMM