]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/basic/string-util.c
basic: add ascii_strcasecmp_nn() call
authorLennart Poettering <lennart@poettering.net>
Wed, 13 Jan 2016 18:45:05 +0000 (19:45 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 13 Jan 2016 19:22:32 +0000 (20:22 +0100)
commitc174983474d4a010a18e3bb9a59e351a442480f5
tree3501d667abb9ec0015c9cf449c10608acef36d60
parent3095011d15e03a5d724fa0141463434c8bf8380c
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
src/test/test-string-util.c