git: libc: Add wcsncasecmp function

John Marino marino at crater.dragonflybsd.org
Mon Nov 21 15:26:45 PST 2011


commit 7a2a491fdf72a1648e6b138a8eefd05ab81f65a0
Author: John Marino <draco at marino.st>
Date:   Mon Nov 21 23:30:09 2011 +0100

    libc: Add wcsncasecmp function
    
    This function performs a case-insensitive string comparison test of
    not more than a specified number of wide characters.  It is a GNU
    extension, not POSIX.  Some packages in pkgsrc may require it.

Summary of changes:
 include/wchar.h                                 |    1 +
 lib/libc/string/Makefile.inc                    |    2 ++
 lib/libc/string/{wcscasecmp.c => wcsncasecmp.c} |    6 +++++-
 lib/libc/string/wmemchr.3                       |    4 ++++
 4 files changed, 12 insertions(+), 1 deletions(-)
 copy lib/libc/string/{wcscasecmp.c => wcsncasecmp.c} (93%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7a2a491fdf72a1648e6b138a8eefd05ab81f65a0


-- 
DragonFly BSD source repository





More information about the Commits mailing list