From owner-cvs-all Sun Sep 22 23:47:41 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8315E37B401; Sun, 22 Sep 2002 23:47:40 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33A1843E6A; Sun, 22 Sep 2002 23:47:40 -0700 (PDT) (envelope-from jmallett@FreeBSD.org) Received: from freefall.freebsd.org (jmallett@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g8N6leCo056535; Sun, 22 Sep 2002 23:47:40 -0700 (PDT) (envelope-from jmallett@freefall.freebsd.org) Received: (from jmallett@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g8N6le82056534; Sun, 22 Sep 2002 23:47:40 -0700 (PDT) Message-Id: <200209230647.g8N6le82056534@freefall.freebsd.org> From: Juli Mallett Date: Sun, 22 Sep 2002 23:47:40 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/uname uname.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG jmallett 2002/09/22 23:47:39 PDT Modified files: usr.bin/uname uname.c Log: Use some macro evil to create the functions for using sysctl(3) to get each variable natively. It should allow you to use any sysctl mib set, but due to limitations of what I can do with macros, right now it's limited to two, which is all this program used anyway. Sponsored by: Bright Path Solutions Revision Changes Path 1.11 +39 -84 src/usr.bin/uname/uname.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message