Re: where to find the standard C library functions?
From: Adam Fineman (afineman_at_retupmoc.org)
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 <email@example.com>
>>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
> 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.
-- Reverse domain name to reply.