From owner-freebsd-hackers Fri Jun 8 5:49:17 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93]) by hub.freebsd.org (Postfix) with ESMTP id DCEBA37B403 for ; Fri, 8 Jun 2001 05:49:13 -0700 (PDT) (envelope-from rasputin@freebsd-uk.eu.org) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97] ident=root) by serenity.mcc.ac.uk with esmtp (Exim 2.05 #6) id 158LhQ-00037B-00; Fri, 8 Jun 2001 13:49:12 +0100 Received: (from rasputin@localhost) by dogma.freebsd-uk.eu.org (8.11.3/8.11.1) id f58CnCK72190; Fri, 8 Jun 2001 13:49:12 +0100 (BST) (envelope-from rasputin) Date: Fri, 8 Jun 2001 13:49:12 +0100 From: Rasputin To: Peter Pentchev Cc: freebsd-hackers@freebsd.org Subject: Re: problem with systm.h trying to call resettodr() Message-ID: <20010608134912.A71963@dogma.freebsd-uk.eu.org> Reply-To: Rasputin References: <20010608124731.A70666@dogma.freebsd-uk.eu.org> <20010608153225.I19938@ringworld.oblivion.bg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20010608153225.I19938@ringworld.oblivion.bg>; from roam@orbitel.bg on Fri, Jun 08, 2001 at 03:32:25PM +0300 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Peter Pentchev [010608 13:35]: > On Fri, Jun 08, 2001 at 12:47:31PM +0100, Rasputin wrote: > > I'm playing with resettodr(9), to set the BIOS clock from the system time.. > As others pointed out, resettodr(9) is a kernel-space function. > Section 9 of the manual is for those - see the intro(9) manual page > with man 9 intro (just man intro would probably show you intro(1)). Thanks, I'd already read intro(9), but it doesn't explain how to *use* kernel-space functions. I suppose the manpage would be huge then, though.... maybe book size? Is this another 'get that daemon book, you tight-fisted...' situation? So the syntax errors in systm.h are related to what- Missing compiler flags (-DKERNEL?), or missing headers? I *know* you guys all know, but where did you get this knowledge from? Is there a secret BSD monastery you all hang out at, or is there a secret switch you give man that lets you into the *real* details ? Thanks. I'll bring water wings next time.... -- "These are the propulsion systems used by NASA for the moonshots," said Tom apologetically. Rasputin :: Jack of All Trades - Master of Nuns :: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message