[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rtl] Problem loading modules
On Fri, Feb 18, 2000 at 04:12:22AM -0700, Kulwinder Atwal wrote:
> Paul Koning wrote:
> >
> > >>>>> "Dresner," == Dresner, Norman A <norman_a_dresner@md.northgrum.com> 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...