Date: Tue, 11 Mar 2003 13:30:18 -0800 From: Brooks Davis <brooks@one-eyed-alien.net> To: Zhihui Zhang <bf20761@binghamton.edu> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: long long sysctl possible? Message-ID: <20030311133018.A15519@Odin.AC.HMC.Edu> In-Reply-To: <Pine.SOL.L4.44.0303111623340.25949-100000@bingsun2.cc.binghamton.edu>; from bf20761@binghamton.edu on Tue, Mar 11, 2003 at 04:25:10PM -0500 References: <Pine.SOL.L4.44.0303111623340.25949-100000@bingsun2.cc.binghamton.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
--wac7ysb48OaltWcw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 11, 2003 at 04:25:10PM -0500, Zhihui Zhang wrote: >=20 > I notice that the SYSCTL_INT() only support integer. Is there a support of > things like 64-bit SYSCTL_LONGLONG()? If so, where is the sample code? > Thanks. A quick look at sys/sysctl.h shows that there's a type CTLTYPE_QUAD, but not SYSCTL_QUAD or SYSCTL_INT64 macro. You could add such a macro quite easily though. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --wac7ysb48OaltWcw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+blVpXY6L6fI4GtQRAiNhAKDalUG4NTgSmJQDGfz0d4RXDIrCzACg1QPk 3DMn6rbB+tM3yaHmu47PFxg= =wrhQ -----END PGP SIGNATURE----- --wac7ysb48OaltWcw-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030311133018.A15519>