From owner-freebsd-questions@FreeBSD.ORG Tue May 3 08:13:21 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75306106566C for ; Tue, 3 May 2011 08:13:21 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id EB7058FC13 for ; Tue, 3 May 2011 08:13:20 +0000 (UTC) Received: by wyf23 with SMTP id 23so6234564wyf.13 for ; Tue, 03 May 2011 01:13:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=QcgJpB9MQMnxzha/buSqhtTzu8oUh3n8cf4qURYqMt0=; b=mSQhGOJGOOLP3rfnNVKPS78eC0uQem7dTMQctqUQQZFzGq/n0uOWwHCD/BeOIYLPf6 GBiDHJvmDdrArql0SHMtt73PzKFuKAm8G0Pw9Nabshhny50Fnc+0YZEloL4b5BBvYxbn khqIe1lFH7LEVAOOmEiEJrJDF8YRu6L7y5nN0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=lxMP5FmGCl7M/aqWVqMJ6eZhJz91C6A1XRUYCyD0X/e6bO2tG7j9CgRnu5CPYyX0kF u0qFmkZFB4YZZtYgD5Bt57DVG8gtBQVFl7tzUxyWytgrHAnlNRjcSk4QN/GxIDZkmbCx CQQ77pxzJWdtXsYeXNYEnQJgsaS2oOyuPSBtQ= Received: by 10.227.183.76 with SMTP id cf12mr3542559wbb.66.1304410400012; Tue, 03 May 2011 01:13:20 -0700 (PDT) Received: from Melon.malikania.fr (wifi-osiris-sec-180-231.u-strasbg.fr [130.79.180.231]) by mx.google.com with ESMTPS id w12sm2202801wby.24.2011.05.03.01.13.18 (version=SSLv3 cipher=OTHER); Tue, 03 May 2011 01:13:19 -0700 (PDT) Message-ID: <4DBFB8F1.4050504@gmail.com> Date: Tue, 03 May 2011 10:12:33 +0200 From: David Demelier User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.17) Gecko/20110429 Thunderbird/3.1.10 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Get the dev.cpu.0.temperature from sysctl(3) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 May 2011 08:13:21 -0000 Hello, I would like to get the dev.cpu.0.temperature node from sysctlbyname(). It seems this node is an opaque type but how to check it and store it to the appropriate variable type ? Cheers, -- David Demelier