Skip to content

Add implementations of strspn, strcspn and strchr

Jeremy Soller requested to merge Tommoa:master into master

Created by: Tommoa

There's also a micro fix for an unused variable in memchr.

strcspn and strspn are have their operation logic ripped from musl, while strchr is loosely based on memchr.

Tests have been added for all the functions implemented.

Merge request reports