On Wed, Nov 23, 2011 at 11:10:47AM -0800, m...@freebsd.org wrote:
> I don't know if there's a style preference for 0x%lx versus %#lx,
> though, or a preference for a different type for the print (uintmax_t,
> for example).  There is probably a preference for using u_long rather
> than unsigned long, since it's shorter.

u_long is preferred in kernel, in userland unsigned long is better.

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
FreeBSD committer                         http://www.FreeBSD.org
Am I Evil? Yes, I Am!                     http://yomoli.com

Attachment: pgpVWCRu5LHcK.pgp
Description: PGP signature

Reply via email to