/*
*
*
*
*
*
*
*
*/
#include "tostr.h"
#include "time.h"
#pragma D option quiet
#pragma D option destructive
dtrace:::BEGIN
{
i = 1;
printf("\nNUM_TO_STR %12d = %s\n", i, NUM_TO_STR(i));
i = 1100;
printf("NUM_TO_STR %12d = %s\n", i, NUM_TO_STR(i));
i = 1100000;
printf("NUM_TO_STR %12d = %s\n", i, NUM_TO_STR(i));
i = 999999999;
printf("NUM_TO_STR %12d = %s\n", i, NUM_TO_STR(i));
i = 1;
printf("\nBYTES_TO_STR %12d = %s\n", i, BYTES_TO_STR(i));
i = 1024;
printf("BYTES_TO_STR %12d = %s\n", i, BYTES_TO_STR(i));
i = 1000000;
printf("BYTES_TO_STR %12d = %s\n", i, BYTES_TO_STR(i));
i = 999999999;
printf("BYTES_TO_STR %12d = %s\n", i, BYTES_TO_STR(i));
i = 1;
printf("\nUS_TO_STR %12d = %s\n", i, US_TO_STR(i));
i = 1100;
printf("US_TO_STR %12d = %s\n", i, US_TO_STR(i));
i = 999999;
printf("US_TO_STR %12d = %s\n", i, US_TO_STR(i));
printf("\nwalltimestamp : %Y\n", walltimestamp);
printf("TZ=GMT date : ");
system("TZ=GMT date '+%%H:%%M:%%S'");
printf("TIME_HHMMSS : %s\n", TIME_HHMMSS);
exit(0);
}
END