On Fri, Feb 18, 2000 at 04:12:22AM -0700, Kulwinder Atwal wrote:
> Paul Koning wrote:
> > 
> > >>>>> "Dresner," == Dresner, Norman A <[EMAIL PROTECTED]> writes:
> > 
> >  Dresner,> It has to be possible to "re-create" functions like strcat
> >  Dresner,> et al that are usable in the kernel, and I have difficulty
> >  Dresner,> believing that someone hasn't already done just that.
> > 
> > You don't need to re-create anything.  All you need is to link the
> > relevant object library with your module.
> > 
> > That assumes, of course, that the library doesn't need to do system
> > calls (like malloc).  For example, the strings stuff should be fine
> > except for "strstr".  Math should be fine unless there's some
> > exception related stuff in it.
> 
> Use the functions in include/asm-i386/string-486.h
> Although the call 'strstr' does not appear in string.h it is in this
> file.

You may wish to use <linux/string.h> instead, since it will do the right
thing on different processors.



dave...

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

Reply via email to