[prev in list] [next in list] [prev in thread] [next in thread] 

List:       asterisk-dev
Subject:    Re: [asterisk-dev] Strange code in chan_sip.c
From:       Giuseppe Sucameli <brush.tyler () gmail ! com>
Date:       2009-11-27 15:31:54
Message-ID: baea77b10911270731g3bf6ad80u9c6c7b68daee3412 () mail ! gmail ! com
[Download RAW message or body]

Hi,

On Fri, Nov 27, 2009 at 4:03 PM, Vadim Lebedev <vadim@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

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic