carta

strcspn(3) on Linux

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

get length of a prefix substring

strcspn(3) on Linux now