carta

strspn(3) on Linux

The text d236ce9c69ab, as Debian 8 (Jessie) shipped it.

get length of a prefix substring

strspn(3) on Linux now