chiark / gitweb /
basic: add ascii_strcasecmp_nn() call
authorLennart Poettering <lennart@poettering.net>
Wed, 13 Jan 2016 18:45:05 +0000 (19:45 +0100)
committerSven Eden <yamakuzure@gmx.net>
Wed, 17 May 2017 13:22:15 +0000 (15:22 +0200)
commit3b22b89bce6c5185e1db0a28390a0e6df138a27b
tree233c36edbb61688692d647b6a5013e049ceeedea
parent7c1b422919819e9e7af4652b52d5f122a090ce53
basic: add ascii_strcasecmp_nn() call

In contrast to ascii_strcasecmp_nn() it takes two character buffers with their individual length. It will then compare
the buffers up the smaller size of the two buffers, and finally the length themselves.
src/basic/string-util.c
src/basic/string-util.h