This function test if the string str begins with the string pointed
at by prefix.
Details
Details
- Reviewers
• hselasky - Commits
- rS358177: linuxkpi: Add str_has_prefix
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Don't forget to MFC to 11 and 12 and mention the word LinuxKPI in the commit message.
sys/compat/linuxkpi/common/include/linux/string.h | ||
---|---|---|
163 ↗ | (On Diff #68565) | Put a parenthesis around the returned result (BSD-style) |