cvs commit: src/sys/compat/ndis subr_ndis.c src/sys/dev/if_ndis if_ndis.c

Pawel Jakub Dawidek pjd at FreeBSD.org
Sun May 30 02:46:29 PDT 2004


On Fri, May 28, 2004 at 11:41:17PM -0700, Bill Paul wrote:
[...]
+> +static int
+> +my_strcasecmp(s1, s2, len)
+> +        const char              *s1;
+> +        const char              *s2;
+> +        int                     len;
+> +{
+> +        int                     i;
+> +
+> +        for (i = 0; i < len; i++) {
+> +                if (toupper(s1[i]) != toupper(s2[i]))
+> +                        return(1);
+> +        }
+> +
+> +        return(0);
+> +}
+> +

Could we move it to libkern? I want to use it too.

-- 
Pawel Jakub Dawidek                       http://www.FreeBSD.org
pjd at FreeBSD.org                           http://garage.freebsd.pl
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20040530/3912d95f/attachment.bin


More information about the cvs-src mailing list