Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Nov 2011 18:11:40 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        mdf@FreeBSD.org
Cc:        Mikolaj Golub <trociny@freebsd.org>, svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r227873 - head/usr.bin/procstat
Message-ID:  <20111126171140.GF8794@garage.freebsd.pl>
In-Reply-To: <CAMBSHm9=kToWP8kmc5YqfMeAC%2BeX_677MPsVK5cqrNaHekSctA@mail.gmail.com>
References:  <201111230734.pAN7YA78032998@svn.freebsd.org> <CAMBSHm9=kToWP8kmc5YqfMeAC%2BeX_677MPsVK5cqrNaHekSctA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Bqc0IY4JZZt50bUr
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Nov 23, 2011 at 11:10:47AM -0800, mdf@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.

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

--Bqc0IY4JZZt50bUr
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iEYEARECAAYFAk7RHcsACgkQForvXbEpPzQvcgCdHetVDEZBknaq+nXA5X/j4/JT
+9AAoL0W/fWyn/zCC70jSJOlg5NQvq8A
=jv2Y
-----END PGP SIGNATURE-----

--Bqc0IY4JZZt50bUr--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111126171140.GF8794>