The text dd471b5b28bc, as FreeBSD 10.4-RELEASE shipped it.
get foreground process group ID
tcgetpgrp(3) on FreeBSD now