Subject: Re: How to format u_int64_t on sparc64?
To: Juergen Hannken-Illjes <>
From: Klaus Klein <>
List: current-users
Date: 02/27/2003 11:01:37
Juergen Hannken-Illjes <> writes:

> What is the right way to printf an u_in64_t value?

The obvious choice would be using PRIu64 from <sys/inttypes.h>;
otherwise casting the value to an unsigned long long int and
formatting as %llu.  We started using the former for daddr_t recently,
although that probably wasn't exactly the best application for it.

- Klaus