|
From: | Markus Armbruster |
Subject: | Re: [Qemu-devel] [PATCH] util: check the return value of fcntl in qemu_set_{block, noblock} |
Date: | Thu, 13 Dec 2018 15:43:51 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Daniel P. Berrangé <address@hidden> writes: [...] > Honestly I'd probably prefer these methods to take an "Error **errp" > and propagate to the caller but that's alot more work. I'd rather return 0 on success, -errno on failure in these cases.
[Prev in Thread] | Current Thread | [Next in Thread] |