|
From: | Paolo Bonzini |
Subject: | [Qemu-devel] Re: [PATCH 01/14] Introduce qemu_write_full() |
Date: | Thu, 31 Dec 2009 08:53:03 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-4.fc12 Lightning/1.0pre Thunderbird/3.0 |
On 12/31/2009 02:33 AM, Kirill A. Shutemov wrote:
diff --git a/qemu-common.h b/qemu-common.h index 8630f8c..a8144cb 100644 --- a/qemu-common.h +++ b/qemu-common.h @@ -160,6 +160,7 @@ void qemu_mutex_lock_iothread(void); void qemu_mutex_unlock_iothread(void); int qemu_open(const char *name, int flags, ...); +ssize_t qemu_write_full(int fd, const void *buf, size_t count); void qemu_set_cloexec(int fd); #ifndef _WIN32
This should also use __attribute__ ((warn_unused_result)). Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |