HomeFreeBSD

linuxkpi: Add str_has_prefix

Description

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

Details

Provenance
manuAuthored on
Reviewer
hselasky
Differential Revision
D23767: linuxkpi: Add str_has_prefix
Parents
rS358176: linuxkpi: Add list_is_first function
Branches
Unknown
Tags
Unknown