On Fri, 8 Jun 2001, Peter Pentchev wrote:
>On Fri, Jun 08, 2001 at 01:49:12PM +0100, Rasputin wrote:
>You can only use kernel-space functions in kernel code, that is, writing
>a kernel module, or writing a piece of code that is to be compiled along
>with the rest in src/sys.
By the way, are ther
On Fri, Jun 08, 2001 at 01:49:12PM +0100, Rasputin wrote:
> * Peter Pentchev <[EMAIL PROTECTED]> [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
* Peter Pentchev <[EMAIL PROTECTED]> [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
On Fri, Jun 08, 2001 at 12:47:31PM +0100, Rasputin said:
> I'm playing with resettodr(9), to set the BIOS clock from the system time..
>
> I get warning about syntax errors in systm.h:
>
> [rasputin@dogma rasputin]$ gcc b0rken.c
> In file included from b0rken.c:3:
> /usr/include/sys/systm.h:333
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..
>
> When I try to compile the following snippet,
>
> [rasputin@dogma rasputin]$ cat b0rken.c
> #include
> #include
> #include
>
> int main(void){
> resetto
I didn't think resettodr(9) was a system call exposed to user program,
but instead a function available to be called from kernel code. Thus,
the section 9 manual page.
louie
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
6 matches
Mail list logo