]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
linuxkpi: Add str_has_prefix
authormanu <manu@FreeBSD.org>
Thu, 20 Feb 2020 17:20:50 +0000 (17:20 +0000)
committermanu <manu@FreeBSD.org>
Thu, 20 Feb 2020 17:20:50 +0000 (17:20 +0000)
commit354a0e9fa387fa11cdc65d587b4b1537503de4a1
tree19de11a0453acb17e578b14c919636291be810e7
parentdf7aea4cf7da31e2bb7988907f2053b61d134351
linuxkpi: Add str_has_prefix

This function test if the string str begins with the string pointed
at by prefix.

Reviewed by: hselasky
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D23767
sys/compat/linuxkpi/common/include/linux/string.h