carta

strcspn(3) on Linux

The text 660ae177aac9, as Debian 12 (Bookworm) shipped it.

get length of a prefix substring

strcspn(3) on Linux now