Re: [RFC] Prepend timestamp in msgbuf
--rTqjRkWorNROYKOV
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
* Garrett Cooper <yanegomi@gmail.com>, 20111017 21:38:
> time_t maps to int32_t on i386 and int64_t on amd64 (at least), so
> you should be able to use "%zd" in the format string as the type is
> variable width depending on the architecture.
Yuck. Why not cast it to intmax_t and print it using %jd?
--=20
Ed Schouten <ed@80386.nl>
WWW: http://80386.nl/
--rTqjRkWorNROYKOV
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)
iQIcBAEBAgAGBQJOnJEaAAoJEG5e2P40kaK71N0P/ii13rQxwTwILydQzWHOBk58
4LokDCrbx8dHqNF0Pl+IIH4Yl+vSxuF1iB5te0xfs+HTJtC93w2lmeMw203BeaUE
vBWpNjdwrwdRmiJjMv4qfEfxkjAsWTKmQkq29XHaPlCiTkUGhsJ6appdjdg8bh1c
fAu9M3Ns+DhXiTYNGMvOpnb77W+eekdpgx3BXSvWrRrSAodqqFZNGlcSe41FgO1P
ngPKm7Msu/qR6qNJYkO+lnr9LJv37HvqwZ2Qqw9OzO48Q/TbUR6g5R/eOVOSShR5
ds8JtSromWX/Duov8bzP1BiV95EAdCR7tF9HO+uiGhRkysQsbjmUI+OOE14eGJwC
x0SqIJuIm/AyYgUxxSqJhyeyT6SFfWa/pZ3ZnNbvUIufIio7s4c8MbUSO9VgiXsB
geHRkt2EqlywL0u4gbW5OGyvQuYN4OzMM0ZJ4d38BAHxiOuvTH8nSZTpbdi/n4pV
BePHGeE0jW1Z+2PA12N2toU1ji17QoIoCrQ5ObWSagY4sq++4GwpIJGanuy94N1c
XW0WMLLEOEo1X2Uvfk3UcSLSPRNkTVMOTNKuY+UACF8kqnCFpScvcmp8EZdgxwuj
wsWAiO77JexN01gxL2Je9gKmhBOPWCjdmOlnBNXc8jWqnLtd34sX5hwspaQcZ6vh
6ApSOTJbQeUpS0A7d+qT
=HDf2
-----END PGP SIGNATURE-----
--rTqjRkWorNROYKOV--
討論串 (同標題文章)
完整討論串 (本文為第 19 之 19 篇):