[U-Boot] [PATCH v2 09/23] Add stricmp() and strnicmp()

Scott Wood scottwood at freescale.com
Tue Nov 27 23:12:11 CET 2012


On 11/22/2012 01:12:53 PM, Simon Glass wrote:
> strnicmp() is present but disabled. Make it available and define  
> stricmp()
> also. There is a only a small performance penalty to having stricmp()
> call strnicmp(), so do this instead of a standalone function, to save  
> code
> space.

Both POSIX and the Linux kernel call this strcasecmp() rather than  
stricmp()...

-Scott


More information about the U-Boot mailing list