(C) 1998 AROS - The Amiga Research OS


NAME
#include <string.h>

int strrncasecmp ()

SYNOPSIS
const char * str1
const char * str2
int cnt

FUNCTION
Compare the end parts of two strings. Case is ignored.

INPUTS
str1, str2 - Strings to compare
cnt
Compare that many characters

RESULT
Returns 0 if the strings are equal and != 0 otherwise.

EXAMPLE
// rc = 0
rc = strrncasecmp ("disk.info", ".INFO", 5);

// rc <> 0
rc = strrncasecmp ("disk.info", ".c", 2);
SEE ALSO
strcmp(), strcasecmp(), strncasecmp(), strrchr()

NOTES
This function is not part of a library and may thus be called any time.

BUGS

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
27.03.1997 ldp
libaros.a -> libarossupport.a