Re: where to find the standard C library functions?
From: Adam Fineman (afineman_at_retupmoc.org)
Date: 11/11/03
- Previous message: Måns Rullgård: "Re: where to find the standard C library functions?"
- In reply to: Gerhard W. Gruber: "Re: where to find the standard C library functions?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 11 Nov 2003 17:59:30 -0500
Gerhard W. Gruber wrote:
> On 11 Nov 2003 22:26:27 GMT wrote Jens.Toerring@physik.fu-berlin.de in
> comp.os.linux.development.apps with <bornmj$1iambg$1@uni-berlin.de>
>
>>ftp://ftp.gnu.org/gnu/glibc/
>>
>>Just pick any version you like;-)
>
>
> I already found this, but there is no stricmp implementation in there.
>
That's because stricmp() is not part of standard C; it's an extension on
some implementations.
> Well, am I correct if I assume that stricmp does the same as strcmp but only a
> toupper() or tolower() on each character for comparison?
>
It doesn't have to be implemented that way, but it's certainly one way
to do it.
> I need to use this functions in a kernel module and since I can't use glibc
> for that I need to provide my own implementations. The easiest is to copy them
> from the existing glibc as long as they contain no functions that I can't use
> from the kernel.
>
Try looking around on Google for an implementation, rather than looking
in specific libraries that may or may not implement it.
HTH,
- Adam
-- Reverse domain name to reply.
- Previous message: Måns Rullgård: "Re: where to find the standard C library functions?"
- In reply to: Gerhard W. Gruber: "Re: where to find the standard C library functions?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]