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