libvirt/examples/admin
Daniel P. Berrangé 11ea62665c examples: fix 64-bit integer formatting on Windows
The Windows printf functions don't support %llu/%lld for printing 64-bit
integers. For most of libvirt this doesn't matter as we rely on gnulib
which provides a replacement printf that is sane.

The example code is designed to compile against the normal OS headers,
with no use of gnulib and thus has to use the platform specific printf.
To deal with this we must use the macros PRI* macros from inttypes.h
to get the platform specific format string.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2019-04-03 11:34:25 +01:00
..
client_close.c examples: Avoid gnulib, have standalone examples 2019-01-08 09:26:51 -06:00
client_info.c examples: fix 64-bit integer formatting on Windows 2019-04-03 11:34:25 +01:00
client_limits.c examples: Avoid gnulib, have standalone examples 2019-01-08 09:26:51 -06:00
list_clients.c examples: fix 64-bit integer formatting on Windows 2019-04-03 11:34:25 +01:00
list_servers.c examples: Avoid gnulib, have standalone examples 2019-01-08 09:26:51 -06:00
logging.c examples: Avoid gnulib, have standalone examples 2019-01-08 09:26:51 -06:00
threadpool_params.c examples: Avoid gnulib, have standalone examples 2019-01-08 09:26:51 -06:00