The text 7567787dfb5e, as FreeBSD 12.2-RELEASE shipped it.
copy string until character found
memccpy(3) on FreeBSD now