[asterisk-dev] Strange code in chan_sip.c

Giuseppe Sucameli brush.tyler at gmail.com
Fri Nov 27 09:31:54 CST 2009


Hi,

On Fri, Nov 27, 2009 at 4:03 PM, Vadim Lebedev <vadim at mbdsys.com> wrote:
> What is this:   "%30" SCNd64   ?

It's a MACRO defined in inttypes.h and is used in scans function (SCN)
for type int64_t (d64).
To write a int64_t you can use the macro PRId64, e.g. printf("%"PRId64, value);

Greets!

-- 
Giuseppe Sucameli



More information about the asterisk-dev mailing list