next up previous
Next: Missusing System Calls Up: Kernel facilities for rt-threads Previous: memory allocation

`libc` functions available in the kernel

Of course libc is not avaliable in kernel space but programmers are used to using things like memcpy and sprintf so quite a few of standard libc functions have been implemented in the kernel 1. A few of these are architecture specific so you need to check if a particular call actually is available or not.


\begin{displaymath}\makebox[75mm][c]{
\begin{tabular}{llll}
memcpy & memset & ...
...imple\_strtol & strpbrk & sprintf & strsep \\
\end{tabular}} \end{displaymath}

% latex2html id marker 1404
$\textstyle \parbox{7cm}{{\bf TABLE \arabic{tabcounter}:}\quad {\it \lq libc\lq  functions available in the Linux kernel } }$


Der Herr Hofrat
2003-01-06