Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Oct 1997 17:31:19 +0930
From:      Mike Smith <mike@smith.net.au>
To:        mdean <mdean@best.com>
Cc:        Julian Elischer <julian@whistle.com>, freebsd-hackers@freebsd.org
Subject:   Re: devfs / cdevsw 
Message-ID:  <199710040801.RAA00530@word.smith.net.au>
In-Reply-To: Your message of "Fri, 03 Oct 1997 19:17:46 MST." <Pine.SGI.3.95.971003191525.1528A-100000@shellx.best.com> 

index | next in thread | previous in thread | raw e-mail

> > These are shell script that will write a driver for you and put 
> > it in the  sources in /usr/src and compile a kernel with your 
> > new driver.. the driver is a skelaton driver that does nothing,
> > but then you can fill out the function.
> 
> I have these, it talks about conf.c in there.
> 
> What does __P() do to a function declaration? I see it in the lkm examples.
> And also in .h files for c library calls apparently (pointing?) to the
> kernel syscalls.

It's archaic junk left over from the days of pre-ANSI compilers.  Use 
it if you are adding to an existing source file (ie. maintain 
consistency), but do not use it in new code.

mike




home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710040801.RAA00530>