How do I write a 64 bit value, example
0xffffffffffffffff to a buffer?
My code:
sprintf( buffer , "%016llx\n" , 0xffffffffffffffff ) ;
This gives me output in buffer as 0x00000000ffffffff.
An earlier thread suggested using %016llx or %016llX with
printf to actually print out the output.
But this does not seem to work with the above function.
Please help.
Thanks,
Rahul.