lltostr
Converts an unsigned 64-bit integer to a string.
Example 8-23 How to use lltostr to convert a 64-bit integer to a string
The example shows that the printf
function treats the value as a string.
The pragma option in the script sets the maximum string size to 7 bytes, so the string
that's returned by the lltostr
function is truncated to 1234567.
#pragma D option strsize=7
BEGIN
{
printf("%s\n", lltostr(1234567890));
}