Page MenuHomeFreeBSD

linuxkpi: Add str_has_prefix
ClosedPublic

Authored by manu on Feb 19 2020, 10:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 10, 2:18 AM
Unknown Object (File)
Wed, Oct 1, 1:09 AM
Unknown Object (File)
Tue, Sep 30, 8:34 AM
Unknown Object (File)
Mon, Sep 29, 5:35 PM
Unknown Object (File)
Mon, Sep 29, 5:20 PM
Unknown Object (File)
Sun, Sep 28, 9:57 PM
Unknown Object (File)
Fri, Sep 26, 3:25 AM
Unknown Object (File)
Sun, Sep 21, 11:06 PM
Subscribers

Details

Summary

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

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

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)

This revision is now accepted and ready to land.Feb 20 2020, 9:13 AM
This revision was automatically updated to reflect the committed changes.