diff options
author | Markus Armbruster <armbru@redhat.com> | 2017-02-21 21:13:49 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-02-23 20:35:35 +0100 |
commit | 4295f879becfbbb9f4330489311586b96915d920 (patch) | |
tree | da2387727671f0c36aed92ae1262f8e380b08982 /dump.c | |
parent | bc7c08a2c375acb7ae4d433054415588b176d34c (diff) |
util/cutils: Rewrite documentation of qemu_strtol() & friends
Fixes the following documentation bugs:
* Fails to document that null @nptr is safe.
* Fails to document that we return -EINVAL when no conversion could be
performed (commit 47d4be1).
* Confuses long long with int64_t, and unsigned long long with
uint64_t.
* Claims the unsigned conversions can underflow. They can't.
While there, mark problematic assumptions that int64_t is long long,
and uint64_t is unsigned long long with FIXME comments.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <1487708048-2131-6-git-send-email-armbru@redhat.com>
Diffstat (limited to 'dump.c')
0 files changed, 0 insertions, 0 deletions