chiark / gitweb /
util: Adding a strneq, to represent (!strncmp(a, b, n))
authorFabiano Fidencio <fidencio@profusion.mobi>
Thu, 7 Oct 2010 11:24:39 +0000 (04:24 -0700)
committerLennart Poettering <lennart@poettering.net>
Thu, 7 Oct 2010 17:22:11 +0000 (19:22 +0200)
commit3846aeeba29a31628ec7a8b34884916073585e06
tree702a1c401520cadc11aa72c626fb2310475dd7fa
parentc226fa4196aacf44a2aa9ebbd222161f79c2f070
util: Adding a strneq, to represent (!strncmp(a, b, n))

As we have streq to repesent (strcmp(a, b) == 0),I'm adding
strneq to represent (strncmp(a, b, n) == 0), that will be used
in umount.c (at least).
src/util.h