qemu-patch-raspberry4/include/qapi
Sascha Silbe 98cb89af4d error: error_setg_errno(): errno gets preserved
C11 allows errno to be clobbered by pretty much any library function
call, so in general callers need to take care to save errno before
calling other functions.

However, for error reporting functions this is rather awkward and can
make the code on the caller side more complicated than
necessary. error_setg_errno() already takes care of preserving errno
and some functions rely on that, so just promise that we continue to
do so in the future.

Signed-off-by: Sascha Silbe <silbe@linux.vnet.ibm.com>
Message-Id: <1469611466-31574-1-git-send-email-silbe@linux.vnet.ibm.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2017-01-19 15:42:36 +01:00
..
qmp qdict: implement a qdict_crumple method for un-flattening a dict 2016-10-25 17:56:14 +02:00
clone-visitor.h sockets: Use new QAPI cloning 2016-07-06 10:52:04 +02:00
dealloc-visitor.h qapi: Add new visit_free() function 2016-07-06 10:52:04 +02:00
error.h error: error_setg_errno(): errno gets preserved 2017-01-19 15:42:36 +01:00
opts-visitor.h opts-visitor: Favor new visit_free() function 2016-07-06 10:52:04 +02:00
qmp-event.h include: Clean up includes 2016-02-23 12:43:05 +00:00
qobject-input-visitor.h qapi: rename QmpInputVisitor to QObjectInputVisitor 2016-10-25 16:25:54 +02:00
qobject-output-visitor.h qapi: rename QmpOutputVisitor to QObjectOutputVisitor 2016-10-25 16:25:54 +02:00
string-input-visitor.h string-input-visitor: Favor new visit_free() function 2016-07-06 10:52:04 +02:00
string-output-visitor.h qapi: Add new visit_complete() function 2016-07-06 10:52:04 +02:00
util.h qom: Make enum string tables const-correct 2015-06-19 18:42:18 +02:00
visitor-impl.h qapi: Add new clone visitor 2016-07-06 10:52:04 +02:00
visitor.h qapi: rename *qmp-*-visitor* to *qobject-*-visitor* 2016-10-25 16:25:48 +02:00