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