carta

strspn(3) on Linux

The text f26668b8f889, as Debian 9 (Stretch) shipped it.

get length of a prefix substring

strspn(3) on Linux now