qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] syscall: fix special case of write(fd, NULL, 0)


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH] syscall: fix special case of write(fd, NULL, 0)
Date: Fri, 29 Sep 2017 16:38:46 -0700

On 29 September 2017 at 16:33, Carlo Arenas <address@hidden> wrote:
> a return of 0 is a valid response for write per POSIX and just indicates 0
> bytes were written.

The interface we are implementing here is not the POSIX write()
function but the Linux write syscall, whose semantics are not
necessarily identical, though perhaps they may be in this case.

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]