Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Aug 2004 14:44:54 +0100
From:      Mike Bristow <mike@urgle.com>
To:        Brian O'Shea <b_oshea@yahoo.com>
Cc:        FreeBSD_Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: Library (ab)use in kernel land
Message-ID:  <20040831134454.GA77426@urgle.com>
In-Reply-To: <20040828204050.77238.qmail@web50903.mail.yahoo.com>
References:  <20040827182358.GA2114@tin.it> <20040828204050.77238.qmail@web50903.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 and src/sys/sys/systm.h
> header files.

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.




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