--- Mike Bristow [EMAIL PROTECTED] wrote:
And manual pages in section 9 of the manual, eg:
$ man 9 printf
will give you the docs for the printf that you can call in kernelspace.
Yes, however I can't find a man page that nicely outlines all of the
kernel libc-like functions available
On Sat, Aug 28, 2004 at 01:40:50PM -0700, Brian O'Shea wrote:
That being said, there are a few analogs of the standard C
library functions in the kernel, such as printf, strcpy, bcmp,
qsort, etc. You can find sources for them in src/sys/libkern/
with prototypes in the src/sys/sys/libkern.h
In message: [EMAIL PROTECTED]
Paolo Pisati [EMAIL PROTECTED] writes:
: As a general rule of thumb,
: which are the safe libraries we can link against
: while developing a kernel module?
None.
: I mean, can i use libc functions? All of them?
No. You can't.
: And what about the
As a general rule of thumb,
which are the safe libraries we can link against
while developing a kernel module?
I mean, can i use libc functions? All of them?
And what about the other libraries in the base system?
Thanks.
--
Paolo
Italian FreeBSD User Group: http://www.gufi.org
Paolo Pisati [EMAIL PROTECTED] writes:
which are the safe libraries we can link against while developing a
kernel module?
none.
DES
--
Dag-Erling Smørgrav - [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
Hello Paolo,
--- Paolo Pisati [EMAIL PROTECTED] wrote:
As a general rule of thumb,
which are the safe libraries we can link against
while developing a kernel module?
The standard C libraries that we have all come to know and
love can only be used from user space. This is mainly because
6 matches
Mail list logo